Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-29 Thread FrzzMan
John Nichel wrote: [EMAIL PROTECTED] wrote: 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 - POST echo $_POST;

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-29 Thread John Nichel
FrzzMan wrote: John Nichel wrote: [EMAIL PROTECTED] wrote: 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 - POST echo $_POST;

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-29 Thread Andre Dubuc
Try using braces around $_POST or any superglobal you use: print_r($_POST); print brbr{$_SERVER['REQUEST_METHOD']}; print brbr{$_POST['username']}; Works for me. Hth, Andre On Sunday 29 August 2004 01:13 pm, John Nichel wrote: FrzzMan wrote: John Nichel wrote: [EMAIL PROTECTED] wrote:

[PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread Bestman4unowwa
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 - POST echo $_POST; echos - Array echo $_POST['username'];

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread John Nichel
[EMAIL PROTECTED] wrote: 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 - POST echo $_POST; echos - Array echo

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread Bestman4unowwa
John, Thanks for the reply. It is done in software called ToolBook, runs in windows. The toolbook translates to dhtml and then is executed froma browser. The command in toolbook for the data is: Set HTTP POST parameter username to ahttptest I don't expect anyone to know ToolBook, but

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread John Nichel
[EMAIL PROTECTED] wrote: John, Thanks for the reply. It is done in software called ToolBook, runs in windows. The toolbook translates to dhtml and then is executed froma browser. The command in toolbook for the data is: Set HTTP POST parameter username to ahttptest I don't expect anyone to know

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread Bestman4unowwa
Thanks, I'll give it a try. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why won't my echo won't work? [newbie question]

2004-08-28 Thread Bestman4unowwa
John, Thanks for your help. I got it all to work. In my toolbook set parameter stmt I needed to put quotes around username - username. No where is this documented in ToolBook. Thnaks for your help! Dennis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: