Following script gives us deleted rows count,
/* this should return the correct numbers of deleted records */
mysql_query('DELETE FROM mytable WHERE id < 10');
printf("Records deleted: %d\n", mysql_affected_rows());
Is their any function similar to mysql_affected_rows() in ZendDb for getting deleted row count
Thanks