•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
Tell us why did you choose this particular career path?
Explain how can php and javascript interact?
What is trim function in php?
What is the default session time in php?
How to display your correct URL of the current web page?
Can we set session value in javascript?
Tell me what is the difference between the functions strstr() and stristr()?
What are php expressions?
What is magic function in php?
Name and explain five of the PHP error constants?
What is session expiry?
How will you calculate days between two dates in PHP?
What is return value in php?
What PHP stands for?
Describe PHP error and logging information?