[PHP-DB] Help! SQL 2000 and cursors

2002-01-14 Thread Patrick Brown
I've been running a PHP4 script on a Linux server every day for quite a while now. All of a sudden, it stops working. The error message is: [ODBC SQL Server Driver][SQL Server]The cursor was not declared. What does this mean and how can I fix it? Nothing has changed as far as I know. Nobody

[PHP-DB] Re: Help! SQL 2000 and cursors

2002-01-14 Thread Patrick Brown
I just tried installing MDAC 2.7 on my SQL Server, based on another user's recommendation. That didn't resolve the problem. Any other ideas? Thanks, Pat Patrick Brown [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've been running a PHP4 script on

[PHP-DB] PHP w/OOB

2001-03-30 Thread Patrick Brown
I have PHP compiled with OOB and Apache on one of my Linux bxes and it works great. My problem is that I need to run PHP w/ OOB on a second box as a stand alone app. Here is a sample script: #!/usr/local/bin/php ? $dsn = "npps"; $user = "x"; $pass = "x"; $conn = odbc_connect($dsn,