A

Admin • 833K Points
Coach

Q. The function returning reference to hash of row values is . . . . . . . .

  • (A) fetchrow_array()
  • (B) fetchrow_arrayref()
  • (C) fetch()
  • (D) fetchrow_hashref()
  • Correct Answer - Option(D)
  • Views: 27
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question is about how to get data from a MySQL database in a way that's easy to work with in your code. Imagine you're asking the database for information about a student, and you want to store the student's name, age, and grade in separate variables. Here's the breakdown:

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.