•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 to set cookies?
What are magic methods?
Which framework is best for php?
What is php crud api?
What are escaping characters?
Name some of the constants in php and their purpose.
What is class extend in php?
What is the use of Php variables?
How can we upload a php + mysql Site
What is the use of header in php?
What is difference between md5 and SHA256?
Which php framework is fastest?