php判断输出
想判断一下本网页上面选中的值传给下面来判断输出数据库中的值
我想输出
include('./conn/conn.php');
include('./common/header.php');
$sou=urldecode(trim($_GET['sou']));
$pagenum=2;
$page = intval($_GET['page']);
if(!empty($page)) {
$start_limit = ($page - 1) * $pagenum;
} else {
$start_limit = 0;
$page = 1;
}
$sqllts="select count(*) as total from coupon c,dealer d where c.dealerid=d.sid";
$quelts=mysql_query($sqllts);
$tatol=mysql_result($quelts,0,"total");
$page_page = page_search($tatol, $pagenum, $page, "",$sou);
?>
按类别:
无限制
$sqlp="select * from category";
$quep=mysql_query($sqlp);
$selectcate="";
$selectregionid=$_REQUEST['rid'];
while($myrow=mysql_fetch_array($quep)){
?>
&rid=" >
}
?>
按商区:
$sqlp="select * from region";
$quep=mysql_query($sqlp);
$selectcate1="";
$selectcatenid=$_REQUEST['cateid'];
while($myrow=mysql_fetch_array($quep)){
?>
&rid=" >
}
?>