Answer the question
In order to leave comments, you need to log in
Why does the $_POST global array come empty?
There was a task of such a plan - it was necessary to add several fields to the form (1 - to enter the date of birth, 2 - for the address, 3 - to select the country and 4th to enter the index) in one of the CMS SocialEngine modules (objects are very similar to the Zend Framework ):
But when sending, of course, these new fields do not come to the mail. What is most interesting, when trying to get them in the controller, it does not work like this:
$birthDate = $_POST['birthdate'];
$address = $_POST['address'];
$country = $_POST['country'];
$postal = $_POST['postal'];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question