Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

php clock is not moving

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

php clock is not moving

Postby inoob » Wed Sep 11, 2013 4:56 am

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?
inoob
New php-forum User
New php-forum User
 
Posts: 31
Joined: Tue Nov 06, 2012 12:20 pm

Re: php clock is not moving

Postby johnj » Sun Sep 15, 2013 5:32 am

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.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron