<?
preg_match_all('/(([a-z0-9-]{1,})=+([a-z0-9-]{1,}[&]))/is',$HTTP_SERVER_VARS["QUERY_STRING"],$vars);
//$vars now holds each value pair
echo "here's the full array schema<br>\n";
print_r($vars);
echo "<p>You can call the variables directly from the array as follows<br>";
echo "Call the full name value pair: " . $vars[1][0] . "<br>\n";
echo "Call the name only: " . $vars[2][0] . "<br>\n";
echo "Call the value only: " . $vars[3][0] . "<br>\n</p>";
?>
hope that helps 🙂