Forum Moderators: coopster

Message Too Old, No Replies

Using page refresh and Mysql

meta refresh, mysql

         

Minuteman

2:09 am on May 12, 2007 (gmt 0)

10+ Year Member



I've got need for a page to keep checking the mysql db at a regular interval, basically as a way for the page to await my input to perform a task. I've been able to accomplish this by having a query performed and then, if the value is one type to simply refresh the same page (thus iniciating a new query) and check for an update again.

The problem is with the html page's constant flicker as it refreshes each time. Is there a way I could have just the db query refresh? And leave the html alone so it doesn't flicker?

mcibor

8:29 am on May 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For that you would need to use AJAX [en.wikipedia.org]
Only remember, that it works only on Apache 2.

More on Ajax you can ask in javascript forum

Michal

joelgreen

1:16 pm on May 12, 2007 (gmt 0)

10+ Year Member



Why do you think AJAX works only on Apache 2? As far as i know it is server independent. It just sends requests to some page on the server and receives a result.