出現Notice?
請問尊敬的King老師:
為什麼我的會出現Notice?程式都照老師的打,是我的xampp有那些功能沒開啟嗎?
Notice:?Object?of?class?mysqli_result?could?not?be?converted?to?int
但還是有print出$row~
請問尊敬的King老師:
為什麼我的會出現Notice?程式都照老師的打,是我的xampp有那些功能沒開啟嗎?
Notice:?Object?of?class?mysqli_result?could?not?be?converted?to?int
但還是有print出$row~
2015-04-13
舉報
2015-04-13
不是樣 ?應該是你把對象轉換成整型了,報的Notice是是不能直接把mysqli_result對象轉換成整型
你看看你代碼那是不是寫錯了
^-^...
2016-10-15
$mysqli_result ?&& $mysqli_result->num_rows>0