Home > DeveloperSection > Interviews > In how many ways we can retrieve data in the result set of MYSQL using PHP?

Posted on    June-13-2011 5:12 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1323  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    June-13-2011 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick