Hiding the get variables

icomers

New Member
I have a url that is constructed using get variables like \[code\]location.href = http://stackoverflow.com/questions/3642458/this.href +'?type='+ escape($('#type_of_station').html()) + '&count='+ escape($('.number_changer').attr("id").slice(-1));\[/code\]which gives me a url like the following\[code\]http://posnation.com/pre_config/pre_config_step_2.php?type=Grocery&count=2 \[/code\]on the following page I grab the variables via PHP \[code\]<p id="type_of_station" class="text left"><?php $_GET['type'] != "" ? print str_replace("_", " ", $_GET['type']) : print "Food Pos System" ?></p>\[/code\]This works great but the url is kind of ugly. Is there a way to maybe hide this and still have the get variables available to me on the next page
 
Back
Top