Rumah >pembangunan bahagian belakang >tutorial php > php判断输出,该如何解决
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);
?>