ID: 12166
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Open
Bug Type: ODBC related
Operating System: Windows ME
PHP Version: 4.0.6
New Comment:

Hi Kowalsky

If you check in microsoft's  sqlext.h you will see that
 
SQL_CUR_DEFAULT is set to SQL_CUR_USE_DRIVER 

so it is a constant. Also if you check the odbc_connect( ) docs, it says that 
SQL_CUR_DEFAULT is an acceptable parameter to pass into odbc_connect(). So it should 
be defined, or the documentation be corrected.

Regards, John

Previous Comments:
------------------------------------------------------------------------

[2001-07-16 08:31:20] [EMAIL PROTECTED]

this is supposed to be defined by your ODBC driver, not by PHP... after all, how is 
PHP to know what your DB's default cursor is?

------------------------------------------------------------------------

[2001-07-14 11:14:19] [EMAIL PROTECTED]

SQL_CUR_DEFAULT, which is a constant that can be passed into odbc_connect, is not 
defined in the odbc extension. I get a warning that it an undefined constant when I 
use it. A quick check in the source code confirmed it. 

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12166&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to