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 the difference between heap table and temporary table?
How many tables we can create in mysql database?
How to delete a column and add a new column to database
How do I grant privileges to a user in mysql phpmyadmin?
What is general log in mysql?
What is action query?
What are the advantages of MySQL when compared with Oracle?
What is csv?
What is delimiter in mysql?
What is the difference between char and varchar?
How can I create a database in mysql?
What is 'mysqladmin' in mysql?
Can varchar be primary key?
Why should I use mysql?
Does mysql need a server?