安装显示
Parse error: syntax error, unexpected T_VARIABLE in F:\BACK\PHPnow1.5.6\htdocs\home\mtaginstall.php on line 16
原安装的PHP文件内容:
<?php
include_once('./common.php');
require('mtag.DB.php');
$sql = "
CREATE TABLE `uchome_mtag_diy`
(
`mtagid` mediumint(8) unsigned NOT NULL auto_increment,
`logo` varchar(150) NOT NULL default './mtag/imge/logo.gif',
`head` text NOT NULL,
`background` text NOT NULL,
`guidance` text NOT NULL,
PRIMARY KEY (`mtagid`),
KEY `logo` (`logo`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=gbk;"
$conn=mysql_connect( $mysql_server_name, $mysql_username, $mysql_password);
mysql_select_db($mysql_database,$conn);
$result = mysql_query($sql);
mysql_close($conn);
showmessage('安装成功', 'index.php', 4);
?>
请教下大家 是哪里问题呢
|