mansoorin.wordpress.com
Export to CSV file and download – PHP
function CSVExport() { $query=”SELECT id,email FROM `newsletterusers` WHERE `status` = 1”; $sql_csv = mysql_query($query) or die(“Error: ” . mysql_error()); //Replace this l…