
已解决问题
谷歌yg21777用户在2013.08.30提交了关于“哈尔滨php 和mysql 的问题 高手进”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2024-10-02T04:54:02。我已经安装完成phpmysql软件但在测试的时候网页显示Warning:Unexpectedcharacterininput:'\'(ASCII=92)state=1inD:\wwwroot\php\dblinktest.phponline3
Warning:Unexpectedcharacterininput:'\'(ASCII=92)state=1inD:\wwwroot\php\dblinktest.phponline3
Parseerror:syntaxerror,unexpected'~'inD:\wwwroot\php\dblinktest.phponline3
这是什么意思啊不明白拜托详细一点
哦对了
我的编码是这样的::
<?
$db_usrname="root";
$db_password="mysql";
$conn=mysql_connect("localhost",$db_usrname,$db_password)ordie('Icannotconnecttothedatabase.');
mysql_select_db("test",$conn);
echo"Success";
?>
拜托急用给高分希望大家能够帮助她。
详细问题描述及疑问:我已经安装完成phpmysql软件但在测试的时候网页显示
Warning:Unexpectedcharacterininput:'\'(ASCII=92)state=1inD:\wwwroot\php\dblinktest.phponline3
Warning:Unexpectedcharacterininput:'\'(ASCII=92)state=1inD:\wwwroot\php\dblinktest.phponline3
Parseerror:syntaxerror,unexpected'~'inD:\wwwroot\php\dblinktest.phponline3
这是什么意思啊不明白拜托详细一点
哦对了
我的编码是这样的::
<?
$db_usrname="root";
$db_password="mysql";
$conn=mysql_connect("localhost",$db_usrname,$db_password)ordie('Icannotconnecttothedatabase.');
mysql_select_db("test",$conn);
echo"Success";
?>
拜托急用给高分期待您的答案,滴水之恩,来日我当涌泉相报
!