Jump to content


Photo

Pagination Problem :(


  • Please log in to reply
2 replies to this topic

#1 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 29 August 2006 - 10:36 PM

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:

Script Edited Out.



#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 29 August 2006 - 10:44 PM

if your link looks like this:

viewforums.php?fid=1?pid=1


then it's wrong.  It should be:

viewforums.php?fid=1&pid=1


#3 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 29 August 2006 - 10:48 PM

whoohoo :) works man you saved my life :)

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

thanks for all your help XD




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users