makinng a time ticker in PHP for online exam

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
ashish_cal2
Forum Newbie
Posts: 7
Joined: Sun Apr 21, 2002 2:20 pm
Contact:

makinng a time ticker in PHP for online exam

Post by ashish_cal2 »

:wink:

Hey guys


how to make a clock in PHP which runs for a particular period of time(showing hours,minutes and seconds) like one in any standard online examination.

thanks in advance

Bye
AShish[/img]
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

That would be something handled with JavaScript or Flash. PHP is server side, while JavaScript is client side.
User avatar
chiefmonkey
Forum Commoner
Posts: 25
Joined: Sat Apr 20, 2002 5:21 am
Location: Glasgow UK

Post by chiefmonkey »

jason wrote:That would be something handled with JavaScript or Flash. PHP is server side, while JavaScript is client side.
You could use PHP to write your javascript for the timer though, as Jason said PHP is server side, the only way you could use it would be to refresh the page every second , which isn't practical.

George
Post Reply