但是,当我访问链接website.com/search/create.php?l=link&d=description&t=title时,我得到一个错误。这一个 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version$link = "https://website.com";
$description = "The homepag
我使用PDO连接到我的数据库。我的问题是,由于某些原因,我不能将内容插入到表中。当我使用mysqli_connect();连接时,我可以做到这一点,但这对我来说还不够安全。下面是连接到数据库的代码: die("Connection to the database failed");下面是试图向数据库中插入内容的代码:
include '..er