Re: $_POST array not being populated
| From: | Jason Barnett | Date: | Mon, 17 Jan 2005 15:42:24 +0000 |
| Subject: | Re: $_POST array not being populated | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206553@lists.php.net to get a copy of this message | ||
Bennie Foreman wrote:
Hi, I am new to the PHP world so don't give me too much grief if this has a simple solution. My problem is that the $_POST array is not being populated. I have created a form and the method of that form is "POST". I have started the session using session_start() but still nothing. When Isession_start does not matter here; it would only populate the $_SESSION array anyways.
try to display what is in the array using print_r($_POST) all I get is Array(). Did I screw up the PHP configuration?Did you actually submit the form? I.e. did you hit the "submit" button and print_r($_POST) on the target page?
PLEASE HELP! This is driving me mad... Thanks Bennie Foreman-- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html PHP Manual: http://www.php.net/manual/en/index.php php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2