is this
PHP Code:
list($year, $month, $day) = split('[/.-]', $row['dt']);
echo "<p><strong>{$month} {$day}, {$year}</strong><br />".
"Decription: {$row['description']}</p>";
giving you what you want, with the exception that the month is still numeric (e.g., "8" instead of "August")?
If so, add an array of all the months and use it to convert your $month:
PHP Code:
$monthnames = array(
"1"=>"January",
"2"=>"February"
//etc
);
list($year, $month, $day) = split('[/.-]', $row['dt']);
$month = $monthnames[$month];
echo "<p><strong>{$month} {$day}, {$year}</strong><br />".
"Decription: {$row['description']}</p>";
Bookmarks