| | |
Show Present time in page
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
If you mean a 'clock' which shows the current time without refreshing the page, PHP is not the place for you, try looking for Javascript clocks.
AJAX is not a programming language, scripting language or any other sort of language.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
It is acheived by using JavaScript http functions.
So, AJAX = JavaScript.
•
•
Join Date: Jul 2008
Posts: 148
Reputation:
Solved Threads: 25
javascript Syntax (Toggle Plain Text)
<script type="text/javascript"> document.write('Clock'); </script>
But, seriously, how about you do some searching, try to put something together and when you have problems you post what you have so far and we provide you with some assistance.
Last edited by mschroeder; Feb 18th, 2009 at 2:27 pm.
If you're question/problem is solved don't forget to mark the thread as Solved!
-- Code I post is usually but not always tested. If it is tested it will be against 5.2.11 or 5.3.0
-- Code I post is usually but not always tested. If it is tested it will be against 5.2.11 or 5.3.0
•
•
Join Date: Aug 2009
Posts: 12
Reputation:
Solved Threads: 1
There is a nice JS clock tutorial in this link:
http://sites.google.com/site/superco...vascript_clock
I hope it would have good use for you.
Cheers,
Fuego
http://sites.google.com/site/superco...vascript_clock
I hope it would have good use for you.
Cheers,
Fuego
![]() |
Similar Threads
- Windows Vista Infected Big Time!! (Viruses, Spyware and other Nasties)
- JSP database connectivity according to Model View Controller (MVC) Model 2 (JSP)
- I can't change my startup page. (Viruses, Spyware and other Nasties)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Home Page changes (Viruses, Spyware and other Nasties)
- All Kinds of Adware and Spyware, Please Help (Viruses, Spyware and other Nasties)
- Company Website (Website Reviews)
- Can't open links or print web pages on IE6 SP1 w/Win98SE (Web Browsers)
- Can anyone help me with a hijacked IE? (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: how to refresh DIV in one page without reloadin it.
- Next Thread: Need help with script
| Thread Tools | Search this Thread |
ajax apache api array beginner beneath binary broadband broken button cakephp checkbox class cms code countingeverycharactersfromastring crack cron curl database date decode display dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail match md5 menu mlm multiple mysql mysql_real_escape_string oop paypal pdf php problem protocol query radio random recursion regex remote script search server session sessions sms smtp soap source space sql strip_tags survey syntax system table tutorial undefined update upload url validator variable video virus votedown web window.onbeforeunload=closeme; xml youtube





