Jump to content

knowing if PDO->execute affected any rows


mkosmosports

Recommended Posts

Hello,

 

When issuing update or insert sql statements using PDO->execute is there anyway of knowing whether any rows were actually affected?

 

Also, is there anyway execute can return a FALSE boolean? (it says on the www.php.net/pdo site it can, but how?)

 

Thanks.

mkosmosports

Link to comment
https://forums.phpfreaks.com/topic/81221-knowing-if-pdo-execute-affected-any-rows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.