OpenSource,
if ($_GET[login] == 'forgot')
It's good programming style (and in some cases, necessary) to use
quotes around array member names:
$_GET[login] is bad.
$_GET['login'] is good.
However, you are also not passing the "login" variable through to
your login processing page. At least, that's
lt;[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 29, 2003 7:38 AM
> Subject: [PHP-DB] weird php error
>
>
> > Hi guys,
> >
> > This is weird to me..
> > I got this script
> > --
On 29 August 2003 06:39, OpenSource wrote:
> Hi guys,
>
> This is weird to me..
> I got this script
> ---
> if ($_GET[login] == 'forgot')
> {
> echo "Sorry I forgot my password";
> } else { echo "you
Try:
if ($_GET['login'] == 'forgot')
- Original Message -
From: "OpenSource" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 7:38 AM
Subject: [PHP-DB] weird php error
> Hi guys,
&g
Hi guys,
This is weird to me..
I got this script
---
-
when ran, it gives me this error
Notice: Use of undefined constant login - assumed 'login' in