![]() |
How do I refresh a php page using AJAX?
Hello everyone,
I would appreciate an experts assistance on this question. How do I refresh a PHP page every minute for example using AJAX technology? Ive looked on the web for tutorials but they mainly seem to be "how to auto refresh a page". I know how to do that, but I want to utilise AJAX to automatically refresh a PHP page containing MYSQL data without the viewer noticing the page has been updated ;) I hope im clear & any help is much appreciated :) Matt |
Refreshing the page would defeat the point of AJAX ;). I think you mean you want to update data within the page without "refreshing" the page. This would be done using a counter via Javascript to count an interval, then sending an AJAX request to your script, which fetches and spits out the data. The data then comes back to the browser, at which your Javascript will take over and parse/insert the info into the page.
|
All times are GMT. The time now is 02:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|