callesson Posted April 26, 2010 Share Posted April 26, 2010 Hello People! Is there a way to check if an row in the Database has been changed? Cause I have a code that will add something. $row + $something And that function will run everytime I load the page, So is there a way to make it add once the row has been effected ? Ty Link to comment https://forums.phpfreaks.com/topic/199752-check-for-update/ Share on other sites More sharing options...
oni-kun Posted April 26, 2010 Share Posted April 26, 2010 This fuction should suffice. http://php.net/manual/en/function.mysql-affected-rows.php Link to comment https://forums.phpfreaks.com/topic/199752-check-for-update/#findComment-1048431 Share on other sites More sharing options...
callesson Posted April 26, 2010 Author Share Posted April 26, 2010 Ty ! Link to comment https://forums.phpfreaks.com/topic/199752-check-for-update/#findComment-1048433 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.