Home > Backend Development > PHP Tutorial > php判断输出,该如何解决

php判断输出,该如何解决

WBOY
Release: 2016-06-13 10:06:30
Original
1179 people have browsed it

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)){  
?>
>
}
?>


 


 


 
按商区:


 

  $sqlp="select * from region";
$quep=mysql_query($sqlp);
$selectcate1="";
$selectcatenid=$_REQUEST['cateid'];
while($myrow=mysql_fetch_array($quep)){  
?>
>
}
?>


 


 


 

 

 


     
  • 您已选择:


  •  


  •  
  • 共有信息:
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template