Bug #12371 Updated: SQLColumns Error when using odbc_columns on Oracle DB

From: Date: Wed, 22 May 2002 03:03:20 +0000
Subject: Bug #12371 Updated: SQLColumns Error when using odbc_columns on Oracle DB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8148@lists.php.net to get a copy of this message
ID: 12371 Updated by: kalowsky@php.net Reported By: john_tipton@urscorp.com -Status: Open +Status: Closed Bug Type: ODBC related Operating System: Win 2000 PHP Version: 4.0.6 New Comment: I don't understand how this sample script causes an error on lines 11 or 12 when it doesn't contain that many lines. Can you please try a newer version of PHP and if it continues please re-open the bug. Previous Comments: ------------------------------------------------------------------------ [2001-07-25 13:20:52] john_tipton@urscorp.com I have tried all the different syntaxes I could think of and can't get odbc_columns to work with ORACLE on Win 2000. <?php $cnx=odbc_connect("cpen_sds",$username,$password); $res=odbc_columns($cnx,"cpen_sds","%","faqs"); odbc_result_all($res, "BGCOLOR='yellow' border=3 bordercolordark='#FF0000'"); odbc_close_all(); ?> I get the following error: Warning: SQL error: , SQL state 00000 in SQLColumns in E:\InetPub\websites\AMS\wwwroot\test3.php on line 11 Warning: Supplied argument is not a valid ODBC result resource in E:\InetPub\websites\AMS\wwwroot\test3.php on line 12 Thanks, John R. Tipton ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12371&edit=1

« previous php.bugs (#8148) next »