scrubbicus Posted June 9, 2009 Share Posted June 9, 2009 so i have a search thing that's included into the page and it's using the method of get so i can transfer that value through some odd pages. ive tried a few things in order to get the URL to stay the same because I need the information on the URL as well but the GET method is destroying the url. ok so my url is going to be at all times index.php?page=$_GET[$global] when i send the get form it does this index.php?query= or query= I need the $_GET['page'] superglobal in order for my website to work I've tried a few things on the actual form for what the action does like action="index.php?page=$_GET[$global]&" action="&" action="?" Quote Link to comment Share on other sites More sharing options...
taquitosensei Posted June 9, 2009 Share Posted June 9, 2009 do a hidden field for page in your form then that will be passed along with all the other form fields in your url <input type='hidden' name='page' value='$page'> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.