•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 explode() in php?
Which PHP function would you use to send an email?
What are some new features introduced in php7?
What is $row in php?
Require_once(), require(), include(). What is difference between them?
What is the use of mysqli_real_escape_string() function?
what is the current salary package in India for a PHP programmer who has 1.5 years experience
Tell me how can we automatically escape incoming data?
What can php do?
How the result set of mysql be handled in php?
How to upload file in php?
What is a php 5?
What is the best way to change the key without changing the value of a php array element?
Why did you choose this particular career path?
Why ide is recommended for use while programming with php?