I\'m wanting to store basic data from a single form box and I\'ve created this php code base, but it doesn\'t seem to be working. Can someone take a glance and see if anything
You should look into fputcsv. This will add CSV to you file and take care of fields and line ends.
fputcsv($fp,array(array($name,$date)));
You can also specify delimiters and such if you want.