[PHP-DB] stripping a get variable out of url string

2003-07-05 Thread Steve B.
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=123step=x The problem is how to remove step=x from the old url string so that steps don't pile up.

Re: [PHP-DB] stripping a get variable out of url string

2003-07-05 Thread Stephen March
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