A

Admin • 833.24K Points
Coach

Q. Which method fetches all rows from a PDO result set?

  • (A) fetch()
  • (B) fetchRow()
  • (C) fetchAll()
  • (D) getAll()
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

fetchAll() retrieves all records at once.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.