php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10223 Not allows to retrive text column from DB
Submitted: 2001-04-07 11:09 UTC Modified: 2001-06-21 11:22 UTC
From: sergey at oddcast dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.4pl1 OS: WIN NT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sergey at oddcast dot com
New email:
PHP Version: OS:

 

 [2001-04-07 11:09 UTC] sergey at oddcast dot com
$cur=odbc_exec($conn,"myProcedure $id");
	if(!$cur) { 
		/* error handler */ 
	} 

odbc_binmode($cur, ODBC_BINMODE_PASSTHRU); 
odbc_longreadlen($cur, 24568); /* Allow 24kb thru */ 

while(odbc_fetch_row($cur)){ 
	$lyrics		= odbc_result($cur,1);
/* this is place where I get this line:
SQL error: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index, SQL state S1002 in SQLGetData in... */

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-31 17:10 UTC] kalowsky@php.net
what database are you connecting to?
 [2001-06-21 11:22 UTC] kalowsky@php.net
no user feedback.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 06:01:29 2025 UTC