The  $_REQUEST predefined variable is an array consisting of the contents of $_GET, $_POST, and $_COOKIE.

To enumerate through each value in this array use the following:

   foreach($_REQUEST as $key => $value) {
           echo "key: $key value: $value<br>";
    }

 PHP Books on Amazon.com