1. 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.

    1. Report
  2. Question:What is the purpose of active record caching? 

    Answer
    It enables us to save a query for use later on in our script execution. Usually, an SQL query is reset after it has been completed. With Active Record cashing we can prevent this reset and reuse queries easily.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd