•What is the difference between “mysql_fetch_array”
and “mysql_fetch_object?
Answers were Sorted based on User's Feedback
Answer / ravi farare
mysql_fetch_array() fetches record from database table as an
array. We can access each record like arr[0],arr[1]....etc.
on the other side mysql_fetch_object() fetches record from
database table as an object. So We can access each record
like obj->[column name].
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / kapil dhiman
mysql_fetch_array() return an array of records
mysql_fetch_object return an object of records
| Is This Answer Correct ? | 5 Yes | 0 No |
How can i change the extension name like i have a page which name aboutme.php but i want to show it aboutme.php3 or aboutme.aspx?
What is prepared statement in php?
Here in this site i could not find the details for php ZEND certifications or i think u did not post any ? so i need the information about the php certification how to prepare and some of the mock exams?
How can we set and destroy the cookie in php?
What is php how it works?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
How to create a mysql connection?
What is data type in php?
What is the use of array_count_values() in php?
Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database connection?
How can we know the total number of elements of Array?
What are the environmental variables?