$query = ('SELECT username, password, DATE_FORMAT(timestamp, '%d%m%y') FROM custlogon');
Trying enclosing the whole SQL query string in double quotes.
Regards,
-- Ney André de Mello Zunino
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php