Subject | Re: [firebird-php] $login_check = ibase_num_rows($sql); problem |
---|---|
Author | Uwe Grauer |
Post date | 2004-11-21T11:59:27Z |
Johan van Zyl wrote:
I think password is a reserved word.
Uwe
>ThxWell, you should get a List of reserved words.
>Now I get
>Warning: InterBase: Dynamic SQL Error SQL error code = -104 Token unknown -
>line 1, char 18 password in
>/home/e-smith/files/ibays/Primary/html/mc/checkuser.php on line 20
>
>Warning: Supplied argument is not a valid InterBase result resource in
>/home/e-smith/files/ibays/Primary/html/mc/checkuser.php on line 21
>here are lines 20 & 21
>$sql = ibase_query("SELECT username, password FROM users WHERE
>username='$username' AND password='$password' AND activated='1'");
>$login_check = ibase_fetch_row($sql);
>
>
I think password is a reserved word.
Uwe