Jump to content

Refresh .php when DB is updated


markvaughn2006

Recommended Posts

I'm making a php/mysql game where you can go to different locations and you will see others that are at the same location, but if someone comes into that location while you are there, you will not see them unless the page is refreshed, I could set the page to refresh every second or so, but that would probably bog the site down, is there a way to refresh the page only when a person enters that location (and updates their 'location' field in the DB )??

 

Thanks for any help!

Link to comment
https://forums.phpfreaks.com/topic/174401-refresh-php-when-db-is-updated/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.