Harlequin wrote:
Hi all.
Having a problem echoing a broken date. Here's where I'm at:
$DateAdvertisedBroken = explode("-", $DateAdvertised);
So this contains an array of (year, month, day) or something similar? You should be able to grab the values here if that's the case.
later, in a table, I use:
$result[DateAdvertised]
How can I change this so I can call the broken date...?
implode(' ', $DateAdvertisedBroken) or use if needed. Or did you mean $DateAdvetisedBroken[2] ?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php