Questions about $_POST array

1.) What type of array is the $_POST array?

2.) How do I see the contents of the entire $_POST array?

3.) Is there a way to see the Field Name (on the Form) and the Value that a User enters into the Form for each Control?

Thanks,

TomTees

Number 2 in the above post FTW!!!

I find print_r to be the saviour of my sanity!!! 9 times out of ten i can see where i am going wrong when i look at whats held in the array!

  1. It’s an associative array.
    See http://www.tizag.com/phpT/arrays.php


<pre>
<?php print_r($_POST); ?>
</pre>

  1. The above will show you the field name and value.

An array…

2.) How do I see the contents of the entire $_POST array?

var_dump() and print_r()