• +91 9723535972
  • info@interviewmaterial.com

PHP Interview Questions and Answers

Question - What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?

Answer - mysql_fetch_array - Fetch a result row as an associative array and a numeric array. mysql_fetch_object - Returns an object with properties that correspond to the fetched row and moves the internal data pointer ahead. Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows mysql_fetch_row() - Fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners