PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Then writing a php function to scan the database every few minutes and if the database has been updated then refresh the page but if not just continue until the next refresh dictated by the javascript setTimeout function.
Sorry but no. PHP is server-side only which means that the server parses it and then sends it to the client. The function could only be evaluated if the page was refreshed
Well that just stinks. I was hoping to avoid a constantly refreshing page that would interrupt form values being inputted or requiring people to constantly refresh their own pages manually. is there a way to make php do a timeout type check??