为什么在title标签里输出不了PHP程序
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<?php include "connect.php";
$select="select * from news where id='$_GET[id]'";
mysql_query("set names gb2312");
$result=mysql_query($select);
$row=mysql_fetch_array($result);
?>
<title><?php echo "hello";?></title>
</head>别的标签能输出的
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<?php include "connect.php";
$select="select * from news where id='$_GET[id]'";
mysql_query("set names gb2312");
$result=mysql_query($select);
$row=mysql_fetch_array($result);
?>
<title><?php echo "hello";?></title>
</head>别的标签能输出的
<?php include "connect.php";
$select="select * from news where id='$_GET[id]'";
mysql_query("set names gb2312");
$result=mysql_query($select);
$row=mysql_fetch_array($result);?>
$select="select * from news where id='$_GET[id]'";
mysql_query("set names gb2312");
$result=mysql_query($select);
$row=mysql_fetch_array($result);?>放到html的上面