This is gonna sound like a complete newbie question, but i have a bunch of fields in a table, one of which is a "date" field.
$result = mysql_query("SELECT * FROM Guests WHERE Date>=CURDATE() ORDER BY Date LIMIT 6");
while($row = mysql_fetch_array($result))
{
echo"<table width='720' border='0' align='center'><tr>";
echo"<td><span class='first'><strong>" . $row['Date'] . "</strong></span></td>";
The page is set to show all row's on or after the current date. This works fine at the moment but i would like to change the format of the date on the output page, as it is currently set to the default of 2009-11-15...
I've searched and searched online and tried a whole bunch of different things for about an hour now and cant seem to make it work. Would like the format of the date to be "15th November 2009" which i think is "jS F Y" according to the PHP manual.
Hopefully somebody can shed some light,
Thanks,
Dan