mdb2 affected rows typ method
| From: | Mark Steudel | Date: | Wed, 12 Jul 2006 17:26:36 +0000 |
| Subject: | mdb2 affected rows typ method | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24630@lists.php.net to get a copy of this message | ||
I was wondering if there was a affected rows method for mdb2?
e.g.
$sth =& $this->db->autoExecute( $table, $field_values );
mysqlErrorCheck( $sth, __LINE__ );
if( $sth->affectedRows() > 0 )
{
return true;
}
else
{
return false;
}
-----------------------------------------
Mark Steudel
NetRiver
Web and Application Developer
555 Dayton St.
Suite A
Edmonds, WA 98020
w: http://www.netriver.net
p: 425.741.7014