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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC