RE: [PHP-DB] Saving Data to a csv file

2005-03-10 Thread Bastien Koert
".basename($file)."""); header('Content-Disposition: attachment; filename="' . $file . '"'); readfile("$file"); } else { echo "No file selected"; } //end if }//end function the parameter for the function s the filename

[PHP-DB] Saving Data to a csv file

2005-03-10 Thread Lens Man
Hi, I'm trying to make a downloadable csv file from a address database based on PHP and MySQL. I have a script for getting the data (no problem so far) but I want to have the data delivered as a starting downlaod in csv format. Can anyone give me a helping hand? Thx in advance Lensman -- DSL K