This indeed was the problem.  Case closed.

Thanks for the help.

James G Puckett
ECG, Inc.
 

> -----Original Message-----
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 10:55 AM
> To: James G Puckett
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] $_POST index issues
> 
> At 16:47 10.02.2003, James G Puckett spoke out and said:
> --------------------[snip]--------------------
> >       echo "<!-- username_given ==> $_POST['username_given'] -->\n";
> >       $query = "select username, active, password, clec_id from
users
> >where USERNAME=\"$_POST['username_given']\"";
> --------------------[snip]--------------------
> 
> I'm not sure if this is the source of your problems, but when
referencing
> an array from within a string you should put it in curly quotes:
> 
>         echo "<!-- username_given ==> {$_POST['username_given']}
-->\n";
>         $query = "select username, active, password, clec_id from
users
> where USERNAME=\"{$_POST['username_given']}\"";
> 
> 
> --
>    >O Ernest E. Vogelsinger
>    (\) ICQ #13394035
>     ^ http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to