what is the difference between mysql_fetch_array() and
mysql_fetch_row()?

Answer Posted / manikandan

mysql_fetch_array()works as an associative array i.e. just
use the field name specified in your database to access the
values while mysql_fetch_row() returns the value of a
single field in a particular row if you r going to specify
the array's index which starts from '0'.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php a backend?

524


How to create a mysql connection in php?

514


Which function can be used to delete a file?

579


Does php support multithreading?

551


What is use of in_array() function in php?

535






Is php a framework?

515


How to set session.gc_maxlifetime properly?

557


Is facebook still in php?

504


What does mvc stand for and what does each component do?

530


What is the super method?

545


What is str_replace()?

533


What is php data type?

513


Tell us how to redirect a page in php?

532


What is form submission?

538


Is it possible to extend the execution time of a php script?

489