I can't really post the code, since it's all over the place and between two pages.
I'll try to give it a 'story' feel to it.
1. You go to userreview.php.
2. You click a button so the URL changes to userreview.php ?comments=on
3. Now Comments are displaying.
4. Now you click a button to go to reviewID=2. reviewID is the ID of the review, it takes you to a unique page.
5. Now, you're at userreview.php?reviewID=2. But wait, didn't I say to keep the comments on? They're not there any more.
6. You'll turn them back on. You click the button.
7. Now you're back at userreview.php?comments=on. But I want to look at reviewID=2 and comments=on at the same time! I want the URL to be userreview.php?reviewID=2&comments=on!
I hope that helps. Now you could just type that in, and it would work, but many people out there don't know PHP (  ) so they can't do that. So I made buttons that when you click them, it does it for you. But it can only have one URL parameter in the URL at a time.
Last edited by Physicsguy; 11-13-2009 at 05:28 PM..
|