Subject | Re: [firebird-php] ibase_query return no resource id |
---|---|
Author | Lester Caine |
Post date | 2003-12-09T15:52:32Z |
> $stmt = "Select ROLLE,DBNAMEN from BENUTZER";It looks as if the database is being found, but the query is
> db_connect_id = Resource id #2
> q_handel = 1
>
> Warning: ibase_fetch_row(): supplied argument is not a valid InterBase
> result resource in /db/www/test-fb.php on line 22
> db_connect_id = Resource id #2
> q_handel = Resource id #3
>
> Warning: ibase_fetch_row(): Dynamic SQL Error SQL error code = -804
> Incorrect values within SQLDA structure in /db/www/test-fb.php on line 29
not producing valid results.
Try another query and see if that works.
'SELECT RDB$CHARACTER_SET_NAME FROM RDB$CHARACTER_SETS'
should always work :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services