[PHP] Re: detecting POST variables

2002-10-07 Thread Anup
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

[PHP] Re: detecting POST variables

2002-10-07 Thread nicos
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