Jump to content

How to show Number of rows affected/inserted


abdfahim

Recommended Posts

When I use REPLACE command, is there any single command by which I can show how many rows are affected? If I use mysql_updated_rows(), it will show correctly if no rows are replaced, but if some rows are replaced, it shows double count (obviously, according to how the function works).

 

So, is there any function which show me exactly how many records are updated/inserted?

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.