Re: [PHP-DEV] Re: [PEAR-DEV] DB : affectedRows() on an UPDATE query ?

2001-08-09 Thread Stig Sæther Bakken
[Manuel Lemos [EMAIL PROTECTED]] Ok, but it is fair to say that it is not supported in all PEAR-DB backends even if it is just a limitation of PHP Interbase API. Maybe sometime later somebody adds a ibase_affected_rows() function, but PHP scripts can't assume that the function exists

[PHP-DEV] Re: [PEAR-DEV] DB : affectedRows() on an UPDATE query ?

2001-08-07 Thread Manuel Lemos
Hello, Tomas V.V.Cox wrote: It would be great to allow an affectedRows() (returning a DB_Result instead of a DB_OK) with UPDATE or DELETE queries ! affectedRows() works only with UPDATES/INSERT/DELETE queries. $db-query('delete * from users'); echo I have deleted .