GB_001 Posted January 10, 2008 Share Posted January 10, 2008 Is it possible to create a script where X is changed in the database the script recognizes it and refreshes? If so, how would I go about doing it. Link to comment https://forums.phpfreaks.com/topic/85307-solved-listening-for-database-changes/ Share on other sites More sharing options...
nikefido Posted January 10, 2008 Share Posted January 10, 2008 not in the exact way you are thinking, unfortunately. php is not an event-driven code like javascript or actionscript Your best bet is to create a function that periodically checks the database. (other users - is that a use for a cron job?) Link to comment https://forums.phpfreaks.com/topic/85307-solved-listening-for-database-changes/#findComment-435258 Share on other sites More sharing options...
Ken2k7 Posted January 10, 2008 Share Posted January 10, 2008 AJAX? Link to comment https://forums.phpfreaks.com/topic/85307-solved-listening-for-database-changes/#findComment-435264 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.