Home > Archive > PHP Programming > January 2005 > should I write $HTTP_POST_VARS[SubmitEmail]
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
should I write $HTTP_POST_VARS[SubmitEmail]
|
|
| WindAndWaves 2005-01-29, 3:55 am |
| SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmail"] or $HTTP_POST_VARS['SubmitEmail']
It seems that both of them (with or without quotes) work...
Sorry I am sure this is a very stupid question...
- Nicolaas
| |
| Tim Van Wassenhove 2005-01-29, 3:55 am |
| On 2005-01-29, WindAndWaves <access@ngaru.com> wrote:
> SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmail"] or $HTTP_POST_VARS['SubmitEmail']
Nowadays, you should write $_POST['SubmitEmail']
> It seems that both of them (with or without quotes) work...
rtfm: http://be2.php.net/manual/en/language.types.array.php
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
| |
| WindAndWaves 2005-01-29, 8:55 am |
|
"Tim Van Wassenhove" <timvw@users.sourceforge.net> wrote in message news:360pqjF4sq5ptU1@individual.net...
> On 2005-01-29, WindAndWaves <access@ngaru.com> wrote:
>
> Nowadays, you should write $_POST['SubmitEmail']
>
>
>
> rtfm: http://be2.php.net/manual/en/language.types.array.php
>
> --
> Met vriendelijke groeten,
> Tim Van Wassenhove <http://www.timvw.info>
veel dank!
|
|
|
|
|