Jump to content

Archived

This topic is now archived and is closed to further replies.

Demonic

Pagination Problem :(

Recommended Posts

Ok you know how pagination works with the _GET[]

well i have a viewforum script that is confusion this how it is

my script gets topics in that forum by getting it the the forum ID(fid) and i got a pagination problem because it gets the page by pageid(pid).
but when i try and go to a new page (link looks like this now viewforums.php?fid=1?pid=1)

it shows nothen when i click the next link on the pagination script is shows no topics that it should and the php script is saying get topics where forum id = the id

well main problem is i can view other topics on other pages with this script:
[quote]
[code=php:0]
Script Edited Out.
[/code]
[/quote]

Share this post


Link to post
Share on other sites
if your link looks like this:

[quote]viewforums.php?fid=1?pid=1[/quote]

then it's wrong.  It should be:

[code]viewforums.php?fid=1&pid=1[/code]

Share this post


Link to post
Share on other sites
whoohoo :) works man you saved my life :)

ah can you tell me why it has to be "&"?

thanks for all your help XD

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.