Forum Moderators: open
I have a PHP script that grabs the number of rows of a table in my database. When you run the page it displays a number.
I want to have a text field in another page that refreshes every 5 seconds with the number of rows in the database. This would mean the JavaScript would have to look to that PHP script/file to grab the number.
Is it possible for JavaScript to look to a file to grab information on it and write it in a text input?
Thanks in advance for your help!
Wes