This article mainly introduces the example of php getting pictures in the folder path and paging display. Friends in need can refer to it
The code is as follows:
';
echo $array[$j],'
';
echo "
";
echo '
';
}
$realpage = @ceil($i / $imgnums) - 1;
$Prepage = $page-1;
$Nextpage = $page+1;
if($Prepage<0){
echo "Previous page";
echo "
Next page ";
echo "
Last page ";
}elseif($Nextpage >= $realpage){
echo "
Homepage ";
echo "
Previous page ";
echo "Next page";
}else{
echo "
Homepage ";
echo "
Previous page ";
echo "
Next page ";
echo "
Last page ";
}
?>
http://www.bkjia.com/PHPjc/740401.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/740401.htmlTechArticleThis article mainly introduces the example of php getting pictures in the folder path and paging display. Friends who need it can For reference, the code is as follows: div style=width: 90%; margin: 10px auto; bord...