Posted in PHP onJune 05, 2013
同一个查询语句:
fetchAll():
array(1) { [0]=> array(6) { ["id"]=> string(2) "15" [0]=> string(2) "15" ["lot_sellid"]=> string(20) "00000000000000003877" [1]=> string(20) "00000000000000003877" ["lotteryid"]=> string(2) "D8" [2]=> string(2) "D8" } }
mysql_fetch_array():
array(6) { [0]=> string(2) "15" ["id"]=> string(2) "15" [1]=> string(20) "00000000000000003877" ["lot_sellid"]=> string(20) "00000000000000003877" [2]=> string(2) "D8" ["lotteryid"]=> string(2) "D8" }
fetchAll()与mysql_fetch_array()的区别详解
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@