".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
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