php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5584 ibase_fetch_object() returns empty fields with IB 6
Submitted: 2000-07-14 09:12 UTC Modified: 2000-07-14 10:18 UTC
From: edemorsy at online dot fr Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1pl2 OS: Linux Redhat 6.1
Private report: No CVE-ID: None
 [2000-07-14 09:12 UTC] edemorsy at online dot fr
When I run a script like this one...

$categres = ibase_query("SELECT id, pere, titre, fullname FROM se_categ ORDER BY fullname ASC");
while ($data = ibase_fetch_object($categres)) $ListCateg[]=stripslashes($data->fullname);

... $data->fullname is empty, but if I use ibase_fetch_row(), the whole thing works well.... not blocking, but really annoying !

I saw that I had to use dialect 1 for my database, but even after switching my db to dialect 1 using gfix, it still doesn't work....

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-14 10:18 UTC] edemorsy at online dot fr
Ooops.... actually it works fine : the only "problem" is that IB stores fieldnames in upper case, for example here I just have to ask for $data->FULLNAME

Thanks get_object_vars :o)))
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Nov 27 19:03:46 2022 UTC