Why Is Var_dump($_POST) Not Showing All My Variables?
I have a form with over 350 name='somename' attached to HTML input elements. When I run a var_dump($_POST) only 150 of them show up, what's going on?
Solution 1:
Make sure that in the html, you are using
<input name="name[]" value=""/>
instead of
<input name="name" value=""/>
php will overwrite $_POST['name'] with each new name field if they don't have the brackets in the name attribute.
Post a Comment for "Why Is Var_dump($_POST) Not Showing All My Variables?"