You did not put it in the code but when you use the get method the values of your form elements will be entered in the url. So you probably have something like this:
<form action="dashboard.php?link=products/home&so=app_windows" method="GET">
<input type="text" name="so" value="app_windows">
<input type="submit" name="" value="Enviar">
</form>
When you click submit, this url will be changed.
If you wear it like that:
<form action="dashboard.php?link=products/home&so=app_windows" method="POST">
<input type="text" name="so" value="app_windows">
<input type="submit" name="" value="Enviar">
</form>
Your url will not change and you will be able to pick up the values via GET in the same way.
Or else you can do it:
<form action="dashboard.php" method="get">
<input type="" name="so" value="app_windows">
<input type="" name="link" value="products/home">
<input type="submit" name="" value="Enviar">
</form>
Depends on what you think is best.
Use the
method='post'
that this problem will not happen.– Andrei Coelho
yes I’ve used for the post more and I want by the url because by the post this information is lost to the page exchange already by the url no
– diogo Dsa
Place the complete form so that we can detect what is happening. Only with what you posted can not know what happens.
– user60252