O'Reilly logo
  • miraj Desai thinks this is interesting:

the exec method returns the number of table rows (entries) that were affected by the query.

From

Cover of PHP & MySQL: Novice to Ninja, 5th Edition

Note

exec() method for update delete and insert