dotkpay Posted July 19, 2010 Share Posted July 19, 2010 Hello, How would I embed dynamic php content in javascript so that it can change accordingly without having to refresh the page? For example I have a php script that tells time <?php $hour = date(H); $min = date(i); echo $hour,":",$min; ?> Could you please add javascript to make it dynamic so that it can show real time, minute by minute without reloading the page. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.