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

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



Your comments will be displayed only after manual approval.