為什么我用var_dump就顯示全部為NULL,用print_r()就能看見(jiàn)啊
object(mysqli_result)[2] ?public 'current_field' => null
?public 'field_count' => null
?public 'lengths' => null
?public 'num_rows' => null
?public 'type' => null
mysqli_result Object ( [current_field] => 0 [field_count] => 3 [lengths]
=> [num_rows] => 5 [type] => 0 )
2016-01-14
你print_r這個(gè)東西里面應(yīng)該并沒(méi)有實(shí)際的東西,也就說(shuō)兩種方式都沒(méi)有讀出來(lái)吧