note 49147 added to function.ifx-getsqlca

From: Date: Tue, 18 Jan 2005 08:13:04 +0000
Subject: note 49147 added to function.ifx-getsqlca
Groups: php.notes 
Request: Send a blank email to php-notes+get-83541@lists.php.net to get a copy of this message
Seems, the above example1 woun't work. In case when ifx_query() fails it returns FALSE as result id. When ifx_getsqlca gets false as result id, it complains: <b>Warning</b>: ifx_getsqlca(): supplied resource is not a valid Informix Result resource in <b> This is actually a BUG, since when the sql-query fails, it is stll neccessary sometimes, to get the sqlca structure. E.g. to get the ISAM error. ---- Manual Page -- http://www.php.net/manual/en/function.ifx-getsqlca.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49147 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49147&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49147&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49147&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49147&report=yes&reason=useless+example Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49147&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49147&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83541) next »