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

Answer Posted / sowmya mn

mysql_fetch_assoc — Fetch a result row as an associative array
mysql_fetch_array — Fetch a result row as an associative
array, a numeric array, or both
mysql_fetch_row — Get a result row as an enumerated array

Is This Answer Correct ?    17 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better php or nodejs?

509


What is lamp in php?

525


What is Type hinting in PHP?

707


What is slim framework?

489


What is the scope of a variable defined in a function?

548






What is the purpose of pear in php?

574


What is the function mysql_pconnect() useful for?

540


What is difference between explode() or split() in PHP?

487


What is the alternative structure for control structures?

579


How can you send email in php?

540


What’s the difference between htmlentities() and htmlspecialchars()?

569


Tell me what is the use of "ksort" in php?

547


What is purpose of @ in Php?

651


Differences between get, post and request methods ?

483


Explain what does $_server means?

563