Subject Re: [firebird-php] $login_check = ibase_num_rows($sql); problem
Author Uwe Grauer
Johan van Zyl wrote:

>Thx
>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);
>
>
Well, you should get a List of reserved words.
I think password is a reserved word.

Uwe