0
WHAT IS REALLY THE WORK OF MYSQLI_NUM_ROWS
Hi, please I do use this function very well, but I hate copy and paste, I really wanna know it's work, it's like I'm confusing it with MYSQLI_FETCH_ARRAY... Please can someone state clearer their differences and what they both work for (mysqli_fetch_array and Mysqli_num_rows). Thanks
2 Answers
+ 2
This is going to sound crazy... it's the number of rows returned from your query. :D I would look into affected_rows also, it's the number of rows affected by whatever operation you did.
Hope that helps. Simply put, it's just the number of rows that's returned from the query.
0
How does the affected row work? And how is the function written?