fetchAll()과 mysqlfetch_array()의 차이 에 대한 상세 한 설명

같은 검색 어: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"                 
        }  
}
mysqlfetch_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" 
}

좋은 웹페이지 즐겨찾기