•What is the difference between “mysql_fetch_array”
and “mysql_fetch_object?
Answer Posted / 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 |
Post New Answer View All Answers
What is use of in_array() function in php?
How to return ascii value of character in php?
What is a model in php?
Which function will you use to create an array?
Which array function checks if the particular key exists in the array?
Is wordpress a php framework?
Explain mixed and callback functions?
Explain what is memcache?
Tell us why did you choose this particular career path?
How to remove duplicate values from array using php?
What are magic constants in php?
Who is the father of php?
What is http get and post?
Can php use gettext?
What is difference between readonly and constant?