Let\'s say I am getting requests such as:
http://www.example.com/index.php?id=123&version=3&id=234&version=4
Is it possible to extra
Just extract the keys and values of $_GET, use the function as:
print_array('$_GET...',$_GET);
... and the function code will be:
function print_array($title, $arr) {
echo '';
echo 'key of '.$title.' ';
foreach($arr as $key => $value) {
echo '';
echo '';
echo $key;
echo ' ';
echo '';
echo $value;
echo ' ';
echo ' ';
}
echo '
';
}