I'm having a problem formatting a date from mysql to display in a more 'English' format.
e.g. The value
echo mysql_result($result,$counter,"thedate")
gives 2001-10-15
If I try to format this as
date("dateformat",mysql_result($result,$counter,"thedate")
it gives me today's date instead of the one from the database
How can I format a date's appearance?
Thanks
Elizabeth
e.g. The value
echo mysql_result($result,$counter,"thedate")
gives 2001-10-15
If I try to format this as
date("dateformat",mysql_result($result,$counter,"thedate")
it gives me today's date instead of the one from the database
How can I format a date's appearance?
Thanks
Elizabeth