pagination doesnt link to where clause when new page clicked(单击新页面时,分页不会链接到 where 子句)
问题描述
我有一个 where 子句,显示所有类别,其中 id = 上一页的输入值.分页工作给了我正确的页数,where 子句给了我正确的记录.
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 clause gives me the correct records.
当我点击一个页面时,页面上显示的记录不是下一组必需的记录而是所有记录
when i click on a page nuber however the records shown on the page are not the next set of required records but all records
指向每个页面的链接不标识 whereclause
the link to to each page doesnt identfy the whereclause
推荐答案
将类别添加到链接:
这篇关于单击新页面时,分页不会链接到 where 子句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!