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

Answer Posted / jemit p jose

mysql_fetch_row() for select aggragate data or single data
eg:select count(*) from TableName

mysql_fetch_array() for retrive more data from Table

Is This Answer Correct ?    42 Yes 53 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does session expire on closing browser?

479


Explain mysql_error().

548


Explain how to run the interactive php shell from the command line interface?

540


Tell me how can we determine whether a php variable is an instantiated object of a certain class?

548


Is null check in php?

514






What is php how it works?

525


How to create and destroy cookies in php?

493


What is session in c#?

516


What is abstract class in php?

503


Which framework is best for php?

494


Explain Traits in PHP?

517


What is cookie in php with example?

517


What are php applications?

500


What is difference between action hook and filter hook?

485


Should I use mysqli or pdo?

503