I'm developing a system, where I pass a value into a variable and load it into my url, through the form using the POST method, so I have the Url:
$url = "../usuario/detalhamento.php?foo=$id";
echo "<td><center><a href='$url' class='btn btn-primary btn-block
value='$id'>$id</a></center></td>";'
There, it works beautiful, but my url on the page I called looks like this:
The problem of leaving this is that, anyone can reach out and type an ID at the end and access other information. What I wanted was to know how to hide everything I have after the "?" or replace everything with "#" for example, I just did not want it to show.