refiking Posted August 24, 2007 Share Posted August 24, 2007 How can I select the table name that the fields are located in? Here is the entire code; <?php include 'connect.php' <?php $data = ""; $row = 'bfn,'; $row .= 'bln,'; $row .= 'bssn'; $data .= $row."\n"; // Output the headers to download the file header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=log.csv"); header("Pragma: no-cache"); header("Expires: 0"); echo $data; ?> Link to comment https://forums.phpfreaks.com/topic/66525-solved-csv-export-question/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.