每次我运行 mysql_fetch_array 时,都会返回一个带有重复值的数组,例如
Array
(
[0] => 1
[row_id] => 1
[1] => some text
[first_field] => some text
[2] => some text
[second_field] => some text
}
但我只想要数组中的单个结果,我尝试过使用
mysql_fetch_array($data, MYSQL_ASSOC);
但这没有什么区别。