/ Published in: PHP
Just a short little script that takes a mysql query and turns it into a csv file that downloads automatically. If your interested in the details you can hit up the link.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
require '../includes/init.php'; // This connects to the database foreach($r as $k => $v){ } } echo "\n"; }
URL: http://fatfolderdesign.com/376/php/simple-mysql-to-csv