If all else fails, split on the &.
$url = split("&", $_SERVER["REQUEST_URI"]);
$args = $url[0];
Cheers,
~Steve
Steve B. wrote:
I have an online tutorial build into a web page.
It has button next step.
If you are on page index.php?abc=123 for instance
the code is smart enough to make it index.php?
I have an online tutorial build into a web page.
It has button next step.
If you are on page index.php?abc=123 for instance
the code is smart enough to make it index.php?abc=123&step=x
The problem is how to remove step=x from the old url string so that steps don't pile
up.
index.php?abc=123&step=