Difference between MYSQL_ASSOC,MYSQL_NUM and MYSQL_BOTH ?

Answer Posted / test

difference between MYSQL_NUM AND MYSQL_ASSOC.
MYSQL_NUM returns a numerically indexed array.
MYSQL_ASSOC returns an associative array.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a tinyint in mysql?

478


write a query to mysql in safe mode and to change the root password

511


What is the use of i-am-a-dummy flag in mysql?

553


What is a heap table?

473


Which is faster mysql or mongodb?

475






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

579


How to decrement dates by 1 in mysql?

508


What are string data types?

564


How do I edit a table in mysql?

484


What is the difference between sql and mysql and oracle?

430


What data structure does mysql use?

572


How do I view mysql logs?

481


What is flush privileges in mysql?

514


Can you tell the reasons for selecting lamp(linux, apache, mysql, php) instead of any other combination of software programs, servers, and operating system?

452


What is mysql and why it is used?

551