•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 session.gc_maxlifetime properly?
How to return ascii value of character in php?
How does firefox manage cookies?
List some features of php that are deprecated in php
Is it worth learning php in 2019?
What is php trait?
What is put method in php?
Explain some of the php array functions?
What can I do by cakePHP?
What is the difference between query and question?
What is the difference between == and === in php?
Why these language is needed?