note 4862 deleted from sybase_pconnect by joey

From: Date: Mon, 11 Sep 2000 00:34:27 +0000
Subject: note 4862 deleted from sybase_pconnect by joey
Groups: php.notes 
Request: Send a blank email to php-notes+get-4687@lists.php.net to get a copy of this message
When I use sybase_conect, sometimes but not always, getting this error or warning: Warning: Cannot convert to ordinal value in loginaccount.php on line 94 Warning: 0 is not a Sybase result index in loginaccount.php on line 94 On kine 94 I have a regular fetch statement. It sometimes works sometimes fails (dummy huh) . I tried sybase_pconnect and error is gone. But sybase_pconnect is opening a new connection in ASE on every new connection. In a minute (from the same pc) I am having nearly 10 connections in sybase. I am the only user (test user) using php program. I have PHP4 installed. Any help is appreciated.

« previous php.notes (#4687) next »