Notice: Undefined property: classname::$password in D:\cmusic\text\conn.php on line 21Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: NO) in D:\cmusic\text\conn.php on line 23Notice: Use of undefined constant mysql_errno - assumed 'mysql_errno' in D:\cmusic\text\conn.php on line 11Notice: Use of undefined constant mysql_error - assumed 'mysql_error' in D:\cmusic\text\conn.php on line 12
[Connection could not be established with server] ( mysql_errno : mysql_error)
这是错误提示
[Connection could not be established with server] ( mysql_errno : mysql_error)
这是错误提示
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: NO) in D:\cmusic\text\conn.php on line 23
是大小写问题把$password改为$Password
不明白你的这句话
echo "[$text] ( $no : $msg) <br> \n";
mysql_errno和mysql_error后面有()号