Hello,

Im having a bit of trouble with the DATE_FORMAT function in mysql.  

$query = ('SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM 
custlogon');

I know its failing because php doesnt like the quotation before the format parameters. 
 Ive tried to fix this without any luck.  Any Ideas ?

DATE_FORMAT ( timestamp, ' %d%m%y ')

Thanks in advance,
-Dan

Reply via email to