note 45864 added to function.mysql-affected-rows

From: Date: Tue, 21 Sep 2004 23:55:50 +0000
Subject: note 45864 added to function.mysql-affected-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-77132@lists.php.net to get a copy of this message
Yes, this annoyance has plagued me too. I can't believe how frustrating this is. It's also the case that NOW() doesn't count for a datetime field. So even though data *IS* changing, mysql_affected_rows() == 0. The hack I used to circumvent this assinine behaviour is to use NOW()+1 as I really could care less about a single second offset. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-affected-rows.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45864 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45864&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45864&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77132) next »