1.

‘fetchrow_hashref()’ returns a reference to the hash of row values keyed by what?(a) row name(b) column name(c) table name(d) database nameThis question was posed to me in a job interview.I need to ask this question from Operators in portion Data Type Reference, Operators and Functions of MySQL

Answer»

The correct option is (B) column name

The best I can explain: The function ‘fetchrow_hashref()’ RETURNS a reference to the HASH of row VALUES, KEYED by the column name. The function ‘fetchrow_arrayref()’ returns a reference to an array of row values.



Discussion

No Comment Found

Related InterviewSolutions