Demonic Posted August 29, 2006 Share Posted August 29, 2006 Ok you know how pagination works with the _GET[]well i have a viewforum script that is confusion this how it ismy 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] Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted August 29, 2006 Share Posted August 29, 2006 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] Quote Link to comment Share on other sites More sharing options...
Demonic Posted August 29, 2006 Author Share Posted August 29, 2006 whoohoo :) works man you saved my life :)ah can you tell me why it has to be "&"?thanks for all your help XD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.