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.
我正在尝试输入“验证 - 电子邮件的确认”,但它失败了,因为 VALIDATION 是 MySQL 中的一个关键字。我需要转义第一个字母吗?在这种情况下,验证中的 v?检查目标键后是否进行单词/键替换?还是有更简单的方法?
我目前有:
$db->issue("INSERT INTO tasks (task,added) VALUES('".htmlentities($task,ENT_QUOTES|ENT_HTML401)."',curdate())");