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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
callesson Posted April 26, 2010 Author Share Posted April 26, 2010 Ty ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.