Difference between MYSQL_ASSOC,MYSQL_NUM and MYSQL_BOTH ?

Answer Posted / deepak sakure

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

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you say mysql?

480


What are the 3 main types of search queries?

448


What is the usage of regular expressions in mysql?

486


How to use in conditions?

522


What is the difference between a heap table and temporary table?

495






How do you kill a long running query in mysql?

458


What is trigger in mysql with example?

484


1)for snapshot replication which agents used? 2)for Transcation replication which agents used? 3)for merge replciation which agents used?

1549


What are enums used for in mysql?

488


How to check if value already exists in mysql database in php?

436


How do I view a mysql database?

475


Is the syntax correct? Explain the meaning of the syntax given below: $dbc = mysqli_connect('data.aliensabductedme.com', 'owen', 'aliensrool', 'aliendatabase');

520


Why do you think it is advised to not to use guid and character columns as clustered index arrays?

669


How to increment dates by 1 in mysql?

544


What is ndb in mysql?

515