看板
[ PHP ]
討論串[請益] codeigniter跟資料庫取資料時會報錯
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我根據版友建議使用了var_dump查看資料內容. 內容是正確的. array(31) { [0]=> object(stdClass)#18 (2) { ["specialty_id"]=> string(1) "1"["specialty_name"]=> string(9) "小兒科" } [
(還有3695個字)
內容預覽:
程式會報錯. Severity: Notice. Message: Trying to get property of non-object. Filename: controllers/specialty.php. Line Number: 61. $cnt確定有筆數而且是正確的. 但是取資料的時
(還有830個字)
首頁
上一頁
1
下一頁
尾頁