954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How To refresh just certain part of page

I have a PHP code which grabs data from site and it should be updated every second, I don't want to refresh whole page, I just want to refresh the data.
please suggest something.

zit1343
Newbie Poster
3 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

You can use AJAX. Have a look for some tutorials. Also you can get some more information in the AJAX-Forum on Daniweb.
Regards

sDJh
Posting Whiz in Training
259 posts since Aug 2005
Reputation Points: 56
Solved Threads: 29
 

You could use ajax for this, but that's a lot of calls on the server. What are you trying to do? Could you do one call to the server and then let just JS do something every second?

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: