<?$conn = @mysql_connect('localhost:3306','test','test');include_once "js.class.php";include_once "pager.class.php";include_once "whxbb.class.php";include_once "whxbb_article.class.php";// 以上代码最好全放在一个包含文件中$article = new WHXBB_Article();$result = $artcile->Insert('今日天气', 'whxbb', '今天北京局部地区有雨');// 如果出错,弹出错误信息并返回上页(录入页面)if (WHXBB::isError($result)) {