|
Need some minor PHP help
Okay, i'm going to be sending people to a webpage with an "s" variable.
page.php?s=1
Now, on that page, i need another linking code to do some kind of "if" thing depending on what the value of s is.
So, if s=1 in the URL to the page they user is currently on, then s in the link i'm creating will be, say, 12. And if s=2, then s in the link on the page will be 14.
Make sense? Probably not!
__________________
26 + 6 = 1
|