PHP 4.0 Bug #10223: Not allows to retrive text column from DB
| From: | sergey at oddcast dot com | Date: | Sat, 07 Apr 2001 15:09:27 +0000 |
| Subject: | PHP 4.0 Bug #10223: Not allows to retrive text column from DB | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51104@lists.php.net to get a copy of this message | ||
From: sergey@oddcast.com
Operating system: WIN NT
PHP version: 4.0.4pl1
PHP Bug Type: ODBC related
Bug description: Not allows to retrive text column from DB
$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... */
--
Edit Bug report at: http://bugs.php.net/?id=10223&edit=1