0 like 0 dislike
34 views
asked in PHP by (5.6k points)

How I can to get number of affected rows of db in PHP?

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 like 0 dislike
answered by (5.6k points)
  • mysql_affected_rows - Returns the number of rows affected by the previous operation.
  • pg_affected_rows - Returns number of affected records.
  • ibase_affected_rows - Return the number of rows that were affected by the previous query.

It works only for DBMS MySQL

Related questions

0 like 0 dislike
1 answer 25 views
0 like 0 dislike
1 answer 20 views
0 like 0 dislike
1 answer 30 views
0 like 0 dislike
1 answer 28 views
asked Oct 10, 2018 in PHP by Pantycle_Genefanty (5.6k points)
0 like 0 dislike
1 answer 18 views
0 like 0 dislike
1 answer 10 views
0 like 0 dislike
1 answer 35 views
0 like 0 dislike
1 answer 46 views
0 like 0 dislike
1 answer 7 views
0 like 0 dislike
1 answer 10 views
...