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 mongodb and mysql?
How do I start mysql?
Who owns mysql database?
Can we store files in mysql?
What is orm in mysql?
What is the difference between having and where clause in mysql? Explain
What is the maximum number of records in mysql table?
What is the command used to create a database using php and mysql?
Is oracle better than mysql?
Is there a way to see the files which are stored?
How to load data files into tables with 'mysqlimport'?
How do I zip a file in mysql?
How can you validate emails using a single query?
What is the use of count function in mysql?
How to include numeric values in sql statements?