•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 get and post method in php?
Write down the code for save an uploaded file in php.
How to declare an array in php?
How to calculate the difference between two dates using php?
What is the difference between explode () and split () functions in php?
Write a program to show the joining of two strings in php?
Can we run php on tomcat server?
What is the purpose of the '.frm' file extension? What do thes file contain?
What is mysql in php?
Is ruby on rails php?
Tell me how do you execute a php script from the command line?
How do I stop php artisan serve in windows?
How to remove duplicate values from a PHP Array?
Why sessions are used in php?
What is the use of rand() in php?