Home » MYSQL » MySQL Operators » Question
  1. Which function returns a reference to hash of row values?
    1. fetchrow_hashref()
    2. fetch()
    3. fetchrow_arrayref()
    4. fetchrow_array()
    5. None of these
Correct Option: A

The function ‘fetchrow_hashref()’ returns reference to hash of row values. ‘fetchrow_arrayref()’ returns a reference to an array of row values. ‘fetch()’ is the same as fetchrow_arrayref().



Your comments will be displayed only after manual approval.