Bug #12492: odbc_result fails accessing memo fields by number
| From: | huevo at earthling dot net | Date: | Tue, 31 Jul 2001 18:39:50 +0000 |
| Subject: | Bug #12492: odbc_result fails accessing memo fields by number | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61672@lists.php.net to get a copy of this message | ||
From: huevo@earthling.net
Operating system: Win NT
PHP version: 4.0.6
PHP Bug Type: ODBC related
Bug description: odbc_result fails accessing memo fields by number
If I access a memo field (Access 2000) by name:
$temp = odbc_result($result,'Description');
I get the expected result, a string value.
If I access the field by number:
for ($i=1; $i<=odbc_num_fields($result); $i++)
if (odbc_field_type($result,$i) == 'LONGCHAR')
$temp = odbc_result($result,$i);
odbc_result fails, returning false.
--
Edit bug report at: http://bugs.php.net/?id=12492&edit=1