1

Topic: displaying time time....

hi, i wana display the live time next the where it says 'You last logged in at' i tryed this and got an error, help!

$tpl_temp = $lang_common['Logged in as'].' <b>'.pun_htmlspecialchars($cur_user['username']).'</b>.<br>'.$lang_common['Last visit'].': '.format_time($cur_user['last_visit']) <br> 'The current time is: '</b>print date("D dS M,Y h:i a");
*removed by Rickard*
^ 1337 php and mySQL sig
Like annoying people with visual basic? http://www.annoyingvb.com <-- the home for virus/spammers/trojans. ect source code!

2

Re: displaying time time....

ahh so u post here to kyle

3

Re: displaying time time....

yes...

*removed by Rickard*
^ 1337 php and mySQL sig
Like annoying people with visual basic? http://www.annoyingvb.com <-- the home for virus/spammers/trojans. ect source code!

4 (edited by Frank H 2004-10-03 16:09)

Re: displaying time time....

your ' signs are way off ... rewriting it as best as I can ... not 100% it will work ...


$tpl_temp = $lang_common['Logged in as'].' <b>'.pun_htmlspecialchars($cur_user['username']).'</b>.<br>'.$lang_common['Last visit'].': '.format_time($cur_user['last_visit']).'<br>The current time is: <b>'.date("D dS M,Y h:i a").'</b>';

perhaps work?

5

Re: displaying time time....

thnx but i want it 2 be live plz help :\

*removed by Rickard*
^ 1337 php and mySQL sig
Like annoying people with visual basic? http://www.annoyingvb.com <-- the home for virus/spammers/trojans. ect source code!

Re: displaying time time....

then you need to fiddle with javascript I would guess ... someone else need to help you with that...

7

Re: displaying time time....

i think i found somthing here http://www.dynamicdrive.com/dynamicindex6/clock2.htm plz help again :z

(sorry i'm in a rush, no time 2 mess about)

*removed by Rickard*
^ 1337 php and mySQL sig
Like annoying people with visual basic? http://www.annoyingvb.com <-- the home for virus/spammers/trojans. ect source code!