Date formatting question

[email protected] (Jack Lauman)
Newsgroups php.db
Organization nwcascades.com
Message-ID <[email protected]>
I need to reformat the output of the 'dates' field from '2009-04-08' to 
'Wed. Apr. 8th'. Any help would be appreciated.

Thanks.

---

for ($counter = 0; $counter < mysql_num_rows($resultID); $counter++);

while ($row = mysql_fetch_object($resultID))
{
     print "<tr>";
     print "<td>" . $row->dates . "</td>";
     print "<td>" . $row->times . "</td>";
     print "<td>" . $row->am_pm . "</td>";
     print "<td>" . $row->height . "</td>";
     print "<td>" . $row->cond . "</td>";
     print "</tr>";
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.