请教高手们怎么我动用不了student数据库?
我打了这个PHP的程序,储存在D://WAMP//WWW下
$serverLink = @mysql_connect("localhost","root","")or die("连接服务器失败!程序中断执行!");
mysql_query("set names'gbk'");
$dbLink = @mysql_select_db("student",$serverLink)or die("当前连接服务器失败!程序中断执行!");
if($dbLink){
echo"选择student数据库为当前数据库!";
}
$close = @mysql_close($serverLink);
?>
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn