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

How to find the unique values if the value in the column is repeated?

547


What is index length in mysql?

483


What is join in mysql? What are the different types of join?

508


How do I install mysql on windows 10 64 bit?

465


How do I connect to mysql database?

488






Can varchar be primary key?

501


Is oracle mysql free?

470


If you wish to encrypt the username and password using php, how will you do that?

511


what is constraints?

624


How do I start mysql from command line?

503


How do I create a schema in mysql?

467


What does it mean to be case sensitive?

469


What is “i_am_a_dump” flag in mysql?

557


How to enter boolean values in sql statements?

537


What is a string in mysql?

461