本文介绍了Mysqli_connect()错误验证方法客户端未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
连接到我的sql数据库时出错,我找不到有什么问题。显然错误在第8行,即'$ conn'。
I have an error when connecting to my sql databace and i cannot find what is wrong. Apparantly the error is on line 8 which is the '$conn'.
<?php
$dbserverName = "localhost";
$dbuserName = "James";
$dbpassword = "password";
$dbName = "ssc";
$conn = mysqli_connect( $dbserverName , $dbuserName , $dbpassword , $dbName );
?>
非常感谢您的帮助!!
我尝试了什么:
我尝试了不同的连接方法,但都没有。
Your help is much appreciated!!
What I have tried:
I have tried different connection methods however none of which have worked.
推荐答案
<?php
这篇关于Mysqli_connect()错误验证方法客户端未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!