寻呼问题 [英] Paging Problems
问题描述
当运行下面的脚本时,我能够获得所有相关的表结果并以我想要的方式显示它们。当谈到我的分页脚本时,我输入并将每页的行数限制为2(对于3条记录结果)我在页面上得到前2条记录,当点击进入下一条时,我得到有关未定义变量的通知。我真的不明白。
代码是,
When running the script below I am able to get all related table results and display them the way I want. When it came to my paging script I entered and limited the rows per page to 2 (for a 3 record result) I get the first 2 records on page fine, when click through to next I get notices about undefined variables. I really dont understand.
The code is,
推荐答案
当您传递URL变量pagenum
When you pass the URL variable pagenum
当你传递URL变量pagenum
When you pass the URL variable pagenum
感谢您的回复,但它只是完全相同的输出没有区别!
Thanks for the reply but it made no difference just the exact same output!
你必须做出一些个人努力。我只显示你出错的地方,而不是为你重写代码。
你还需要从URL中提取pagenum变量并将其传递给
Well you have to make some personal effort. I was only showing where you have gone wrong, not rewriting the code for you.
You still need to extract the pagenum variable from the URL and pass this into
这篇关于寻呼问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!