pagination doesnt link to where clause when new page clicked

后端 未结 1 500
无人及你
无人及你 2021-01-29 10:33

i have a where clause that shows all categorys where the id=the input value from the previouse page. the pagination works giving me the right amount of pages and the where claus

1条回答
  •  隐瞒了意图╮
    2021-01-29 11:03

    Add the category to the links:

    $cat = isset($_REQUEST['category']) ? "&category=" . $_REQUEST['category'] : '';
    ?>
    
    

    0 讨论(0)
提交回复
热议问题