[PHP-DEV] Bug #12492: odbc_result fails accessing memo fields by number From: huevo <email protected>
Date: 07/31/01

From: huevo <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>