">
当前位置:Gxlcms > PHP教程 > php判断输出,该如何解决

php判断输出,该如何解决

时间:2021-07-01 10:21:17 帮助过:11人阅读

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=" >
}
?>











  • 您已选择:




  • 共有信息:

人气教程排行