0
<body>
<?php
$count=0;
if(isset($_POST["show"]))
{
$count++;
echo $count;
unset($_POST["show"]);
//sql query for show record limit ($count*$row_per_page),$row_per_page
}
?>
<form action="index.php" method="post">
<input type="submit" name="show" value="show more">
</form>
</body>
제출 버튼을 클릭 할 때마다 변수의 값을 높이고 싶습니다. 사실 나는 같은 페이지에있는 모든 제출 버튼에 다음 10 개의 레코드를 표시하려고합니다.
Google : 페이지 매김 –