Subject | Re: [firebird-php] php4-interbase and select with no result |
---|---|
Author | Lester Caine |
Post date | 2004-08-08T10:00:37Z |
hbanjo9000 wrote:
including the field names rather than '*'. I've seen problems where the
field list is not known, but the driver is trying to build an
associative listing.
difference.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> Scrips works fine for all other dbsWhat other dbs? Databases or database engines
> $sqlstring = "SELECT * FROM ECC WHERE MCC = '92000000001001'";Looks reasonable - does it work with a different select? Perhaps
> $db = ibase_connect($FileIB,$User,$Pass) or die("OPEN DB ERROR -
> $FileIB");
> $result = ibase_query($db,$sqlstring) or die("QUERY ERROR !!! - " .
> ibase_errmsg());
> while ($row = ibase_fetch_row($result))
> {
> print $row[0];
> $i++;
> }
including the field names rather than '*'. I've seen problems where the
field list is not known, but the driver is trying to build an
associative listing.
> the db is pretty big (600mb) and that's the only differenceOnly bit I match at the moment is firebird, but that should not make a
> compare to other ones.
>
> - Apache/1.3.31 (Debian GNU/Linux)
> - firebird 1.5.0.4290-0.i686
> - PHP 4.3.8
> - php4-interbase 4.3.6-1
difference.
> The same thing happened using ibWebAdmin...Presume you can see data in the table from ibWebAdmin's view table?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services