***************************链接" />
***************************MySQL数据库信息*************************
header("Content-type:text/html;charset=utf-8");
define('HOST','127.0.0.1');
define('USERNAME','root');
define('PASSWORD','root');
?>
***************************链接MySQL数据库**************************
require_once('config.php');
//连库
if(!($con=mysql_connect(HOST,USERNAME,PASSWORD))){
echo mysql_error();
}
//选库
if(!mysql_select_db('test')){
echo mysql_error();
}
//字符集
if(mysql_query('set names utf8')){
echo mysql_error();
}
?>
**********************************************************************
"https://www.wendangku.net/doc/7010499584.html,/TR/xhtml1/DTD/xhtml1-transitional.dtd">
body{
margin-left:150px;
margin-top:0px;
margin-right:150px;
margin-bottom:0px;
}
p1{
text-decoration:underline;
}
文章发布系统 |
发布文章 |