Which function returns reference to hash of row values?
A. fetchrow_array()
B. fetchrow_arrayref()
C. fetch()
D. fetchrow_hashref()
Answer: Option D
Solution (By Examveda Team)
This question is asking about how to get a specific kind of information from a database table using a MySQL command.Imagine your table is like a list of items, and you want to get a detailed description of each item.
The answer is Option D: fetchrow_hashref()
Think of fetchrow_hashref() like a special tool that takes a single row of data from your table and converts it into a structured list, making it easier to work with.
The other options are incorrect because they don't provide the same kind of organized structure.
Let me know if you'd like more details on any of the options.

Join The Discussion