neoform Posted March 28, 2007 Share Posted March 28, 2007 mysql_query("UPDATE LOW_PRIORITY visitor_ips SET used_on = NOW() WHERE user_id = '".$user_id."' AND ip = '".$ip."'"); if (! mysql_affected_rows()) { //does this get used if there are other users accessing `visitor_ips` when this page goes through? } Quote Link to comment Share on other sites More sharing options...
monk.e.boy Posted March 28, 2007 Share Posted March 28, 2007 Yes. monk.e.boy Quote Link to comment Share on other sites More sharing options...
neoform Posted March 28, 2007 Author Share Posted March 28, 2007 even with LOW_PRIORITY set? (maybe i don't fully understand how it operates.. but doesn't the query get set aside and executed at a later time while the script continues on?) Quote Link to comment Share on other sites More sharing options...
monk.e.boy Posted March 29, 2007 Share Posted March 29, 2007 I did a quick bit of googleing and found the answer ;D Looks like the answer is maybe. monk.e.boy 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.