Hi!
I am having a problem with this function, can anyone tell me what is wrong with it? It won't print, and it halts the script where I call it from. Sorry, I'm a newbie
function user_date_print()
{
$day = gmdate("d");
$month = gmdate("m");
$hour = gmdate("g");
$year = gmdate("Y");
$minutes = gmdate("i");
$seconds = gmdate("s");
$hour = gmdate("H") + $_SESSION['timezone'];
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td>";
echo "<font class=\"small\">{$_SESSION['firstname']} {$_SESSION['lastname']} at {$_SESSION['company']}</font></td><td align=\"right\" valign=\"top\">";
echo "<font class=\"small\">";
echo date("l j. F Y", mktime($hour, $minutes, $seconds, $month, $day, $year));
echo "</font></td></tr></table>";
}