时间:2021-07-01 10:21:17 帮助过:43人阅读
*****连接数据库*******
数据库连接成功!!
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\PHPnow-1.5.6.1428396605\htdocs\zhangxiaojiao\register_1.php on line 19
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in D:\PHPnow-1.5.6.1428396605\htdocs\zhangxiaojiao\register_1.php on line 19
数据库都显示连接成功了,这是什么问题?
错误代码
$sql="insert into userinfo values('$name','$password1','$photourl')";
$result=mysql_query($sql);