页面间传值问题在线等
着是前一页
<?
$sql_news="select * from News Where Zlm_Id='1' Order By New_Id Desc ";
$Result=mssql_query($sql_news);
$Num=0; //显示的记录数
While ($arr=mssql_fetch_row($Result) and $Num<5)
{
?>
<font size=2><img border="0" src="images/images1/huangk.gif" width="5" height="5">
<a href="news/news.php?New_Id=<? Echo $arr[0];?>&Bk_Id=<?Echo $arr[5]?>"><? Echo $arr[3];?></a></font><br>
<?
$Num=$Num+1;
}
?>
<font size="2"><a target="_self" href="news/Index.php?Zlm_Id=1">>> 更多 </a> </font>
这是news.php页
<html>
<head>
</head>
<body bgColor="#FFFFFF" leftMargin="5" topMargin="4" marginwidth="5" marginheight="5"
<?require("../conn.php");?>
<?
// echo $New_Id;
// echo $dl;
// echo $bkfl;
$sql_show="Select * From News where New_Id='$New_Id' and Bk_Id='$Bk_Id'";
$Result=mssql_query($sql_show);
$obj=mssql_fetch_object($Result);
$Title=$obj->Title;
$Date_Time=$obj->Date_Time;
$Author=$obj->Author;
$Nr=$obj->Nr;
$Pic=$obj->Pic;
$LaiYuan=$obj->LaiYuan;
echo "aaa",$New_Id,$Bk_Id,$Nr;
require("../disconn.php");
?>
</body>
</html>
为什么$New_Id,$Bk_Id,的值传不到调用页news.php
各位帮忙.