Re: Simple form but no output
- From: "FrobinRobin" <frobinrobin@xxxxxxxxxxx>
- Date: 20 Jun 2005 02:41:59 -0700
If the example code you gave is a copy n paste then I'm sure its not
working because of a typo:
> echo "_POST[ 'name' ] = $_POST[ 'name' ]";
misses a $ on the first $_POST['name']
There isnt really a need to put a space in the variable name as far as
I'm aware?? and ur code shuld read better without the space.
Regards
- Rob
dave_nul@xxxxxxxxxxx wrote:
> Thanks, DJ. You were right:
>
> PHP likes the
> echo "input = $input";
> but not the
> echo "_POST[ 'name' ] = $_POST[ 'name' ]";
>
> Perhaps array elements are not interpolated like in Perl. I'm
> definitely new to PHP.
.
- References:
- Simple form but no output
- From: dave_nul
- Re: Simple form but no output
- From: DJ Craig
- Re: Simple form but no output
- From: dave_nul
- Simple form but no output
- Prev by Date: Re: variables
- Next by Date: Re: PHP saying I have an undefined variable?
- Previous by thread: Re: Simple form but no output
- Next by thread: $_SERVER['SCRIPT_FILENAME'] = '/php/php.exe'???
- Index(es):
Relevant Pages
|