[PHP-DEV] PHP 4.0 Bug #2953 Updated: ininformix database connection does not work From: Bug Database (php-dev <email protected>)
Date: 12/10/99

ID: 2953
Updated by: danny
Reported By: judah <email protected>
Status: Open
Bug Type: Other
Assigned To:
Comments:

As far as I can see, your connection *does* work.

>From the Informix ESQL/C manual :

W = "Warning" (NOT Error !)
SQLSTATE 01 I04 : "database selected"
SQLCODE = 0 : "success"

This seems pretty good to me.

But why the test "is_integer" ? The connection id is a resource, not an integer.

Please try :

if (! $connection_id) {
}

Danny

---

Full Bug description available at: http://bugs.php.net/version4/?id=2953

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>