Home  >  Q&A  >  body text

php - How to get the number of affected rows when executing a sql statement using PDO::prepare?

If you use PDO::exec, you can get it directly. Now to prevent injection, use PDO::prepare. I don’t know how to get it

PHP中文网PHP中文网2691 days ago807

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-06-29 10:10:26

    Here it is

    reply
    0
  • Cancelreply