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:[EMAIL PROTECTED]] 
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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to