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
| SitePoint Sponsor |



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
1. It's an associative array.
See http://www.tizag.com/phpT/arrays.php
2.
Code:<pre> <?php print_r($_POST); ?> </pre>
3. The above will show you the field name and value.
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!
Bookmarks