mysql_fetch_array()_教程及案例

php mysql_fetch_array()函数

mysql_fetch_array() 是 mysql_fetch_row() 的扩展版本。除了将数据以数字索引方式储存在数组中之外,还可以将数据作为关联索引储存,用字段名作为键名。有一点很重要必须指出,用 mysql_fetch_array() 并不明显 比用 mysql_fetch_row() 慢,而且还提供了明显更多的值。

php mysql获取mysql_query()函数返回数据的四个函数

mysql_fetch_row(),mysql_fetch_object(),mysql_fetch_array(),mysql_fetch_assoc()四个函数如何获取mysql_query()返回的数据