禁止php报错
改为
|
display_errors = Off |
链接修改
$link = mysql_connect( 'localhost' , 'user' , 'password' ); |
修改为 |
$link = mysqli_connect( 'localhost' , 'user' , 'password' , 'dbname' ); |
常用mysql建表SQL如下
|
mysqli_query( $link , 'CREATE TEMPORARY TABLE `table`' ); |