PHP 4.0 Bug #6323: MSSQL function do not work in classes

From: Date: Wed, 23 Aug 2000 23:45:01 +0000
Subject: PHP 4.0 Bug #6323: MSSQL function do not work in classes
Groups: php.dev 
Request: Send a blank email to php-dev+get-30447@lists.php.net to get a copy of this message
From: shazlista@usa.net Operating system: windowsNT PHP version: 4.0.1pl2 PHP Bug Type: ODBC related Bug description: MSSQL function do not work in classes ODBC functions generate GPE whenver executed within a function (not in the main body) function connect($d,$u,$p) { return odbc_connect($d,$u,$p); } function exec($c,$q) { return odbc_do($c,$q); } $c=connect("aa","bb","cc"); exec($c,"select * from trash");

« previous php.dev (#30447) next »