Affected Rows using MDB2
| From: | Mark Bailey | Date: | Thu, 09 Nov 2006 18:25:08 +0000 |
| Subject: | Affected Rows using MDB2 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25746@lists.php.net to get a copy of this message | ||
Hello
I'm using the latest version of MDB2 (2.3.0) and was wondering if there was any way of getting the the number of affected rows from an insert, update or delete statement, in a similar way of mysql_affected_rows()? Or is there a different technique for verifying CRUD success apart from the return value not being an instance of PEAR::ERROR?
Thanks
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters