Articles

PHP/CSV Tip

Posted on Monday, November 10th, 2008

Just a quick tip that might help out some other developer out there.  I am using PHP’s fgetcsv function to import comma-separated data that has been exported from an Excel spreadsheet.

It was giving me fits though – skipping over null values and throwing everything out of wack.  If you are having this problem, there is a good chance you are using a Mac (like I am) and just saving as a “Comma Separated Values (.csv)” file.  While this seems logical. BUZZZZZZZ! I guess it is wrong.  You have to save as “Windows Comma Separated (.csv)” file.  This solves everything.

Link: 15 Key Elements All Top Web Sites Should Have

Posted on Thursday, October 30th, 2008

This is a great little article about what should be included in all websites. I couldn’t have written it any better myself, so I won’t try to reinvent the wheel (notice just the navigation needs to be “above the fold”).

WordPress Form Submission Tip

Posted on Tuesday, October 28th, 2008

This is a public service announcement for all of you WordPress developers out there. If you are working on a form on a WordPress page (such as a contact form), you cannot name any of form fields “name”.

It will break your form, give you a 404 error, and then you’ll spend close to an hour trying to figure out what is wrong. Learn from my awful experience.