mysql_fetch_array

PHP 4, PHP 5
mysql_fetch_array - Fetch a result row as an associative array, a numeric array, or both
Manual
Code Examples

Example #1 Query with aliased duplicate field names

PHP Version:

Example #2 mysql_fetch_array with <span class='function-constant'>MYSQL_NUM</span>

PHP Version:

Example #3 mysql_fetch_array with <span class='function-constant'>MYSQL_ASSOC</span>

PHP Version:

Example #4 mysql_fetch_array with <span class='function-constant'>MYSQL_BOTH</span>

PHP Version: