What is the difference between mysql_fetch_array and
mysql_fetch_object?
Answer Posted / sumit
mysql_fetch_object : will return the results from database
as objects. fields will be accessible like an objects
i.e $result->name
mysql_fetch_array : will return the results from database as
array. fields will be accessible like in objects
i.e $result[name]
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is difference between mysql and mysql server?
What is difference between inner vs self vs cross?
What is mysql port?
What happens if null values are involved in expressions?
What is datatype in mysql?
What is mysqli_free_result?
How to find the unique values if the value in the column is repeated?
What is a text delimiter?
What is data type for image in mysql?
What are procedures in mysql? Explain
Explain what is mysql?
How do I clear the screen in mysql?
Transactions are used to treat sets of SQL statements atomically. State Whether True or False?
What is the function of myisamchk?
Is mysql a relational database?