我寻求帮助来解决一个问题,我在PDO fetch的页面中有一定的输出,我想打破不同页面上的结果,页面数量低于。我的PDO fetch看起来像这样:
<div class=list_results">
<h1>Available Cities</h1>
<?php
$select = new Users;
$stmt = $select->selectcity();
while( $row = $stmt->fetch()){
echo "<div class='indextitle_list'><div class='listleft'><span class='folder_icon'><img src='../images/property.png'></span>".$row['cityname']."</div><div class='listright'><span class='smalllink'><a href='edit-city.php?id=".$row['id']."'>EDIT</a></span><span class='smalllink'><a href='delete-city.php?id=".$row['id']."'>DELETE</a></span></div></div>";
} ?></div>
你会建议我必须去解决这个问题吗?