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