Note Submitter: catalin_moiceanu a t acomdesign d00t ro
Reason: bad code
----
Here is a function I did to fetch all submited informations
of type $x :
<?php
function getSubmitedInfo($x)
{
for($i=0;$i<count($x);$i++)
{
while (list($key, $value) = each($x)) {
$vars .= "$$key=$value<br/>n";
}
}
return $vars;
}
?>
Example of usage :
<?php
echo $getSubmitedInfo($_POST); // or $_GET or any
superglobal you'd like
?>
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|