RE: [PHP] ODBC Failures

From: Date: Thu, 25 Jul 2002 17:34:41 +0000
Subject: RE: [PHP] ODBC Failures
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109555@lists.php.net to get a copy of this message
How does it fail? Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -----Original Message----- From: David Busby [mailto:busby@pnts.com] Sent: Monday, July 01, 2002 4:29 PM To: php-general Subject: [PHP] ODBC Failures List, My ODBC connection is failing it seems...I can run this code just fine...odbc_connect and odbc_pconnect seem to work...the odbc_prepare even works just fine...but as soon as I execute (with odbc_execute, odbc_exec, or odbc_do it fails...any ideas? <?php $db = odbc_pconnect("Desire","sa", "xxxxxxxx"); echo "Database Connection:".$db."<br>"; $sql = odbc_prepare($db, "execute spGetItems"); echo "Prepared SQL id:".$sql."<br>"; // This line will fail $rs = odbc_execute($sql); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#109555) next »