Sounds like a scheme - although I'm not sure of the exact syntax for that.
I've tried :
Code:
"SELECT ContactID, FirstName, LastName, Employer, Telephone, date_format(DateToContact, '%%D %%b %%Y') as formatted_date FROM EmployerContacts LEFT JOIN Employers ON (EmployerContacts.EmployerID = Employers.EmployerID) WHERE DateToContact <= current_Date() AND DateToContact > 0000-00-00 AND CalledBack='N' ORDER BY DateToContact DESC"
but with that
Code:
<?php echo($row_WADAEmployerContacts['formatted_date']); ?>
is outputting :
%D %b %Y
for each record.
Also tried :
Code:
"SELECT ContactID, FirstName, LastName, Employer, Telephone, date_format(DateToContact, '%%D %%b %%Y') FROM EmployerContacts etc"
and
Code:
<?php echo($row_WADAEmployerContacts['DateToContact']); ?>
but that's just drawing a blank again.
Bookmarks