时间:2021-07-01 10:21:17 帮助过:4人阅读
session_start();
if(isset($_GET['id'])){
$id=$_GET['id'];
}else{
$id="";
}
?>
查看帖子详细信息
include("conn/conn.php");
include("index_01.php");
include("index_02.php");
$select=mysql_query("select * from tb_content where id='$id'",$conn);
$array=mysql_fetch_array($select);
$select_user=mysql_query("select * from tb_user where username='".$array['username']."'",$conn);
$array_user=mysql_fetch_array($select_user);
?>