tomhilton
04-18-2003, 07:14 PM
Hi, I work with php and mysql and want to use javascript's setimeout function to periodically retrieve information from a mysql database and update to a web page.
I've used the meta refresh tag before to do this, but I want to refresh once/minute, and don't like refreshing an entire screen like this, so often. Can anyone point me in the right direction to find out how to pass php variables to javascript and vice versa, or any common sense ideas on how to accomplish this? Thanks very much.
I've used the meta refresh tag before to do this, but I want to refresh once/minute, and don't like refreshing an entire screen like this, so often. Can anyone point me in the right direction to find out how to pass php variables to javascript and vice versa, or any common sense ideas on how to accomplish this? Thanks very much.