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

> $sql = ibase_query("SELECT username, password FROM users WHERE
> username='$username' AND password='$password' AND activated='1'");
> $login_check = ibase_fetch_row($sql);

Johan - check things out in IBOConsole before trying in PHP.
This will show what the query actually returns, password at least would
require '"'s round it to use it in Firebird. Don't think you have got to
a PHP error yet ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services