How do I find the number of rows affected by a query?
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.
ASK A QUESTION
More mysql PHP QuestionsHow do I include a conditional in my mysql query?
First i created the log in page now i want to connect to the database from where username and password table is save.How i create the php codes to give relation between them?
What is difference between mysql_fetch_array and mysql_fetch_object?
how to write sessions in php code?
Equip table and Vendor table. Each piece of equipment has a matching vendor ID. How to display vendor name instead of ID in PHP output?