Real Time Seconds Disply in PHP

I was just wondering how you would display secondsin real time through PHP

Right now I have this code

print date("H.i.s")

any clue as to what to do would be awesomeful

no. PHP gets the servers time. You would use javascript for that… unless I misunderstood…

I think you misunderstood

When you load the page it just says 15.23.01

I want the “01” to actually be changing as the seconds pass… if its not possible with php just let me know, cuz I don’t want to use javascript cuz this is just me learning php slowly

you would have to refresh the page each second and that wouldn’t make any sense so no. PHP pages are called from the server and they are only called once. They can’t do real-time like that.

okie dokie smokie
thank you:beam: