I am pulling dates from a MySQL database and populating a table. In the Date column, it currently echos like:
2002-01-28
2002-01-29
2002-04-23
2002-04-24
This is fine, but I would like to have it echo:
Mon, Jan 28
Tue, Jan 29
Tue, Apr 23
Wed, Apr 24
I am calling it like this:
$result = mysql_query ("SELECT * FROM Training_Dates ORDER BY Date");
print ("<table>");
if ($row = mysql_fetch_array($result)) {
do {
print ("<tr><td><font face=arial size=2>");
print $row["Date"];
and I need to know how to manipulate the $row["Date"] variable to display as above.
Any ideas?