$conn = @mysql_connect("localhost","username","password"); //手打
$conn = @mysql_connect("localhost","username","password"); //慕课网上的
复制慕课网上的就可以,代码有什么不同吗???<?php $conn = @mysql_connect("localhost","username","password"); echo "出错了,错误原因是:".$php_errormsg;?>
- 5 回答
- 0 关注
- 1807 浏览
添加回答
举报
0/150
提交
取消