Jump to content

how do i get the form with a method of get to keep the same url but add


scrubbicus

Recommended Posts

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="?"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.