Same query statement:
Fetchall ():
Copy CodeThe code is as follows:
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 ():
Copy CodeThe code is as follows:
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"
}
http://www.bkjia.com/PHPjc/327334.html www.bkjia.com true http://www.bkjia.com/PHPjc/327334.html techarticle The same query statement: Fetchall (): Copy the Code code as follows: Array (1) {[0]= Array (6) {["id"]= string (2) "[0]= string (2)" ["] [Lot_sellid]]= String (00000000000000003) " ...