<?php
$con=@mysql_connect("localhost","root","")or die ("连接数据库失败");
mysql_select_db("test","$con");
?>
调试的时候显示:
Warning: mysql_select_db() expects parameter 2 to be mysqli, string given in D:\phpexample\Message_board\Connect_database.php on line 3
我昨天调试的时候都有用,今天一打开就变成这样了。求指点,万分感谢
