mysql_fetch_array

mysql_fetch_array -- Fetch a result row as an associative array, a numeric array, or both.

Description

array mysql_fetch_array ( resource result [, int result_type])

Príklad 1 .






Príklad 2 . mysql_fetch_array with MYSQL_NUM




Príklad 3 . mysql_fetch_array with MYSQL_ASSOC




Príklad 4 . mysql_fetch_array with MYSQL_BOTH