This is a snippet of what I use:
foreach ($HTTP_POST_VARS as $Index=>$Value) {
echo "DEBUG ::: POST Key: $Index; POST Value: $Value\n";
}
But I just want to know why sometimes when the form has empty values, that
sometimes it prints the key's name but not the actual value.
Assume the form
You should use
foreach($_POST as $key => $value) {
echo $key.':'.$value;
}
Btw thats just an example to get all $_POST values, all superglobals are
arrays.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Anup" <[EMAIL PROTECTED]> a écrit dans le m
2 matches
Mail list logo