PDO和该软件

在编写第一个web应用程序时,您可能要查询数据库。当你用PHP写它时,它很可能是这样的:$mysqli = new mysqli(" example.com ", " user ", " password ", " database ");$mysqli->查询(" SELECT * FROM product ");行=结果美元- > fetch_assoc ();不久之后,您必须开始处理用户输入,这意味着转义:$mysqli = new mysqli(" example.com ", " user ", " password ", " database ");…

阅读更多