Listing 3. respond2.php3

<HTML><BODY>
You selected: <P>
<?php
//below line pulls variable/value pairs out of
// input vars and echoes them
while (list($var,$value)=each($HTTP_GET_VARS)){
echo "$var <P>";
}
?>
</BODY></HTML>