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; ?> Quote Link to comment https://forums.phpfreaks.com/topic/66525-solved-csv-export-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.