代码如下 | 复制代码 |
$link=mysql教程_connect("localhost","root","3435945")or die("***".mysql_error()); echo "成功接连到服务器"; if(mysql_select_db(base2,$link)) echo"选择到base2数据库教程"; $sql="create table t1(id int(5) not null primary key,name varchar(12) not null)"; if(mysql_query($sql,$link)) echo "表T1创建成功"; echo " "; "; "; |
}