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 return the date with mySQL?
How do I find the longest value in my mysql table?
First of all I'm new to php n' mySql . So I just can't figure out what's the wrong in my code. I'm using WAMP and I've created a db named "Try" and in that there is a table named "test". this is my php code and it dosen't give me a
I tried to do query,but it didnt work i receive an error message arning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, boolean given in
How do I find the ID of a new row added to a table?