Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在使用以下代码,例如:
错误消息:ladderID ' '中的未知列' where clause'但没有说明它是从哪个文件和哪一行产生错误的?
ladderID
where clause
printf("Error message: %s\n", mysqli_error($this->connection))
谢谢你的帮助
我假设你写了一个更新语句: UPDATE ladders SET Description ='Green ladder' WHERE ladderID = 50; printf 与文件无关。 printf 表示以某种格式输出字符串。 mysqli 用于访问数据库中的数据。