•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 are the features of php 7?
When do you use define() and when do you use const. What are the main differences between those two?
How to set a value in session? How to remove data from a session?
What are the advantages of indexes in php?
Why php is used?
How long does a session last in php?
What is artisan in php?
How can we check the value of a given variable is alphanumeric?
Tell me when a conditional statement is ended with an endif?
How to call php function in jquery?
How to get elements in reverse order of an array in php?
Tell me how to set a page as a home page in a php based site?
Tell me which programming language does php resemble to?
Does php need apache?
How to create a mysql connection?