PHP 4.0 Bug #3874 Updated: sybase_query() fails

From: Date: Wed, 26 Apr 2000 20:29:46 +0000
Subject: PHP 4.0 Bug #3874 Updated: sybase_query() fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-18198@lists.php.net to get a copy of this message
ID: 3874 User Update by: pettern@thule.no Status: Feedback Bug Type: Sybase-ct (ctlib) related Description: sybase_query() fails I got the same. However, seeing the $db in your statement got me trying this: $ok = sybase_pconnect($dbhost,$dbuser,$dbpwd) or die ( "Unable to connect to SQL server."); if(!$ok) { die("Error connecting to SQL Server"); } I see no reason why this should function any better, unless the use of the or has changed. However, this works for SELECT and INSERT queries, but fails if I do a "BEGIN TRANSACTION" to start a more advanced operation. So well, closer but no cigar yet. Full Bug description available at: http://bugs.php.net/?id=3874

« previous php.dev (#18198) next »