What is the difference between mysql_fetch_array and
mysql_fetch_object?

Answer Posted / jeevabala

mysql_fetch_array : fetch the result as an array
mysql_fetch_object : fetch the result as a object

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use mysqli instead of mysql?

572


How many TRIGGERS are allowed in MySql table?

589


What are the reasons for selecting lamp (linux, apache, mysql, php) instead of combination of other software programs, servers and operating systems?

586


Can you tell the difference between mysql_connect and mysql_pconnect? : Mysql dba

501


What is difference between oracle and mysql?

506






Is sql and mysql same?

515


Where MyISAM table will be stored and also give their formats of storage?

620


why not null is not allowed at table level

2298


How many sql dml commands are supported by 'mysql'?

479


Why do we use preparedstatement?

495


How do I create a schema in mysql?

477


What are the method you will follow while sql installing

1881


how to display nth highest salary from a table in a mysql query? : Mysql dba

585


What is mysql url?

481


How do I start mysql server?

479