I'm a bit confused and I need help to finish a project, so thank you for your answers. I will not post my code because its very messy but I'll use an example:
Let's assume I have a url like this:
http://localhost/mySite?q=bar&g=foo
And let's assume I have a rewrite rule like this:
RewriteRule ^mySite/bookingConfirmed$ mySite.php?q=$1&g=$2
First question: If I have link with href=mySite?q=bar&g=foo and click on it, the url showed in the reached page will be like the rewrote one or it will still be like it was written in the href?
Second question: If I have a php code like this:
$q = $_GET['q'];
Does $q will read the q parameter if I have a rewrote url?
Thank you all again.
EDIT:
I'm asking this because I have a very dirty url coming from the server from which I take some data of a just recorded booking (like the day, the client name ecc). I need this data to start a little script, which read them from a input type hidden.