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.
应该是一个足够简单的问题:
如果我使用 mysqli 准备好的语句,我还需要使用mysqli_real_escape_string()吗?
mysqli_real_escape_string()
这是必要的,还是一个好主意?
谢谢,尼科
不。如果您使用准备好的语句,则为您完成转义。