shrek1609 Posted March 3, 2008 Posted March 3, 2008 I'm trying to add the time in header.php below the title logo... print <<<OUT [img=title.png] <table width='100%' class='table' valign='top'><tr><td width=50%>echo date ('F j, Y')." ". date('g:i:s a')); </td><td width=50%><a href='voting.php'>[b]Vote For Rewards[/b]<font color='red'>[b] | [/b]</font><a href='donator.php'>[b]Upgrade Account[/b]<font color='red'>[b] | [/b]</font></td></tr></table> <table width="100%" class='tab' cellpadding="0" cellspacing="0"> <tr> <td width="20%" valign="top"> if i add this echo date ('F j, Y')." ". date('g:i:s a')); above print <<<OUT The the clock displays... add it inside the table then it doesn't... could anyone help me with this please i am sure its something simple thanks Quote
shrek1609 Posted March 3, 2008 Author Posted March 3, 2008 Re: Please help with time in header sorted now i've added a javascript clock instead of the page refresh clock included with script :-D Quote
Ishy Posted March 6, 2008 Posted March 6, 2008 Re: Please help with time in header Can you not have this: $time=time(); <td width=50%>$time</td> Will that not work? Quote
Floydian Posted March 11, 2008 Posted March 11, 2008 Re: Please help with time in header you get a unix timstamp doing that. perhaps you should read up on the time() function or experiment with it a bit ;) Quote
thedestroyer Posted January 1, 2010 Posted January 1, 2010 how do i edit what countries time it displays? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.