Jump to content



Photo

[MySQL] How to find the number of rows affected by a query?


  • This topic is locked This topic is locked
No replies to this topic

#1 Cryo Kinesis

Cryo Kinesis

    Haphost Staff

  • Moderators
  • 128 posts
  • LocationGridania, Eorzea

Posted 05 August 2014 - 04:33 PM

Hi there,

 

With mysql it is usually just a case of learning which function to use, and this is no exception.

The function you will want is mysql_affected_rows which you call after the query has run, and it will tell you how many rows were affected.


Cryo%20Kinesis%20Haphost%20Sig2.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users