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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -