Re: Why won't my echo won't work? [newbie question]
| From: | FrzzMan | Date: | Sun, 29 Aug 2004 16:54:50 +0000 |
| Subject: | Re: Why won't my echo won't work? [newbie question] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195085@lists.php.net to get a copy of this message | ||
John Nichel wrote:
Bestman4unowwa@aol.com wrote:Members in $_POST array are set (mostly) by submitting a form with POST method, make sure your form is not submitting by GET.The first two of these 3 echo statements work. But my last echo doesn't. 'username' is the name of the element I want to echo. To the right of each is what I see echoed. echo $_SERVER['REQUEST_METHOD']; echos -> POSTHow are you setting $_POST['username']? Let's see the code for the form.echo $_POST; echos -> Array echo $_POST['username']; echos -> nothing