Jump to content

[SOLVED] CSV Export Question


refiking

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.