Hi there,
I used code to fetch email address record from table abc on server but shows
"
Access denied for user 'mysqluser'@'serverip' (using password: YES)
"
/********code ********/
<?php
include "connection.php";
$tableName = 'abc';
$todayDate=date("m-d-Y H:i");
$backupFile = '../backup/abc_'.$todayDate.'.csv';
$query = "SELECT email_address INTO OUTFILE ".$backupFile." FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY 'auto' FROM ".$tableName;
$result = mysql_query($query);
?>
/********code ********/
Regards,
gptArun