PHP Time

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

PHP Time

Post by quadoc »

I've a page that display the current time. Is there a way that I can have the time change without having to refresh the page? Does anyone know? Please post some tips. Thanks... :?
trdesigns
Forum Newbie
Posts: 9
Joined: Wed Aug 03, 2005 11:36 am
Location: Canada

Post by trdesigns »

The best way I can think of for doing this is using JavaScript. I don't think using something PHP-based would be practical.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

correct, real-time clock should be done in Javascript.
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Post by quadoc »

Thanks for the tips, I'll try that.
Post Reply