Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 31
- Joined: Tue Nov 06, 2012 12:20 pm
I am trying to echo time
<?php echo date("h:i:s"); ?>
Problem is that I don't see the clock moving. Does this require jquery or something?
- php-forum Super User
- Posts: 1805
- Joined: Thu Mar 10, 2011 5:07 pm
php is a server side scripting language, so you cannot get anything directly like a clock without having code for that. What I think you want is a client side stuff and "yes", for that you need to use something like jquery.
Return to “PHP coding => General”
Who is online
Users browsing this forum: No registered users and 2 guests