|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Is it possible to use DHTML, PHP and MySQL for auto update?
I am trying to create a DHTML page that automatically updates a particular area of text from a
database using PHP and MySQL. Therefore, I change the text in my MySQL database table, the clients browser will automatically receive the new text by updating once every 10 seconds. I do know how to retrieve the text from my database using PHP and MySQL but I have no idea whether it is even possible to have some DHTML code in a page automatically requery the database every 10seconds and get the results from the PHP script. Please help me Regards Dave |
|
#2
|
|||
|
|||
|
hmmm..... i could suggest js or meta-tags.
- Pheifel |
|
#3
|
|||
|
|||
|
Hi Dave,
For an audience that uses IE, and newer versions of Netscape, you can accomplish this task by creating iframes on the page. You can keep the src of your iframe as a PHP file that fetches the correct data from the database. The source PHP page can be refreshed using JavaScript every 10 seconds. That way, you will not have to refresh the entire page every 10 seconds. Hope that helps. Thanks, ClearWater |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Is it possible to use DHTML, PHP and MySQL for auto update? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|