Not sure if this is what you mean, but I am gathering this is what you are looking for based on your title more than the post itself...
Say you have this URL:
http://www.whatever.com/index.php?var1=big&var2=Goodbye&var3=world&var4=cruel
Then you could call the variables like so:
<?php
$var1 = $_GET['var1'];
$var2 = $_GET['var2'];
$var3 = $_GET['var3'];
$var4 = $_GET['var4'];
echo $var2." ".$varv1." ".$var4." ".$var3."!";
// Output: Goodbye big cruel world!
?>
If this wasn't what you meant, then you need to post more details and explain a bit more of what you are trying to do.