hi,
Here is my attempt to print a formatted time on my page..
while ($row = mysql_fetch_assoc($result)) {
$month = substr($row['date'],5,2);
$day = substr($row['date'],8,2);
$year = substr($row['date'],0,4);
echo $month . "/" . $day . "/" . $year ;
echo date($row['time'], "g:i a");
echo " ";
echo $row['time'];
echo " ";
echo "<a href='../webinar_register.html'>Register</a>";
echo "<br>";
}
Here is my results:
Date Time Register
06/20/200714:30:00 14:30:00 Register
07/01/200712:00:00 12:00:00 Register
Why does the date function seam to have NO effect...
Thank you for your assistance in this matter.... I've spend time pouring through the php manual, it's simple I know, but I can't get to the bottom of it...