FN-FORUM: mktime
date posted 1st February 2004 09:47
Hi guys
Can anyone tell me what's wrong with this:
list($hour, $minutes, $seconds) = split(':', $time);
if ($parameter == 'full') $time = date('g:i a', mktime($hour, $minutes,
$seconds, 0, 0, 0));
When I do a foreach on that, I always get the same value, 6:59 am
eventhough when I do print $time, $time is always different in the for each.
--
Jonathan Chong
Internet Developer
: Digital Look
: [EMAIL REMOVED]