diff --git a/assets/pages/view_map.php b/assets/pages/view_map.php index 991c286..99c0e46 100644 --- a/assets/pages/view_map.php +++ b/assets/pages/view_map.php @@ -103,7 +103,7 @@ if ($result->num_rows > 0) { // output data of each row - $x=1; + $x = ($page_start / 50) * 50 + 1; while($row = $result->fetch_assoc()) { if($x<=3) { echo "