Subject | Re: [firebird-php] $login_check = ibase_num_rows($sql); problem |
---|---|
Author | Lester Caine |
Post date | 2004-11-21T13:24:40Z |
Johan van Zyl wrote:
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
> $sql = ibase_query("SELECT username, password FROM users WHEREJohan - check things out in IBOConsole before trying in PHP.
> username='$username' AND password='$password' AND activated='1'");
> $login_check = ibase_fetch_row($sql);
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