链接MySQL DB

时间:2017-08-27 18:35:16

标签: php mysql

我正在尝试使用MySQL创建一个简单的登录页面但是链接有问题。我正在使用xampp和eclipse作为我的php开发工具。我的数据库名称为“arc”,表格为“login”。

脚本: enter image description here

错误: enter image description here

我错过了什么吗?

1 个答案:

答案 0 :(得分:1)

根据php docs mysql_real_escape_string扩展名在PHP 5.5.0中已弃用,并且已在PHP 7.0.0中删除。

您应该检查mysqli

相关问题