Question:What are the functions of num_rows() and num_fields()?
Answer
num_rows() function will return the total number of rows returned from a query.
num_fields() function will return the number of fields returned by the query.