PHP Pagination target page -
my code working when click on next page in pagination, nothing appear in page.
i think problem target page
$cat_id = $_get['cat']; $targetpage = "test2.php?cat=$cat_id";
because url want have next page
try encode url bellow
$targetpage = "test2.php?cat=".urlencode($_get['cat']);
Comments
Post a Comment