php分页显示,请问这如何解决page未定义?
include("conn/conn.php");
?>
|
$date1=date("Y-m-d");
$sgsql=mysql_query("select * from tb_leaguerinfo where type='公寓信息' and showday>='$date1' and checkstate=1 ");
$sginfo=mysql_fetch_array($sgsql);
if($sginfo){
do{
?>
}while($sginfo=mysql_fetch_array($sgsql));
}else{
?>
|
|