Hey,
I'm writing an website with a form. When I post the form I want to get all the values and elements. I thought using:
while (list($element,$waarde) = each($_POST)) {
echo ("<b>$element</b> = $waarde<br>");
}
but when I don't fill in a field in the form I don't see the element in my echo? Is there a way to get the element by using while ... each when the field is left empty?
The One And Only KryptoS
I'm writing an website with a form. When I post the form I want to get all the values and elements. I thought using:
while (list($element,$waarde) = each($_POST)) {
echo ("<b>$element</b> = $waarde<br>");
}
but when I don't fill in a field in the form I don't see the element in my echo? Is there a way to get the element by using while ... each when the field is left empty?
The One And Only KryptoS