PDA

View Full Version : PHP - Form to CSV



trillodigital
12 Apr 2011, 12:24 PM
Hi, I'm a PHP novice so please forgive me! Basically, I have a HTML form on my website for people to sign-up to my mailing list. It has two fields... Name and Email address.

I just simply want this form to write to a CSV file, but I don't know where to start. Please could somebody help?

Thank you!

TheMichael
12 Apr 2011, 03:09 PM
http://www.michaelhartmayer.com/php/csv-export-class-for-php/ here is a CSV class I wrote to simplify the creation of CSV data. Hope it helps.