|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-07 21:59 UTC] sniper@php.net
[2005-03-15 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 UTC |
Description: ------------ There seems to be a problem reading Memo-fields (ODBC-type LONGCHAR) from an MS-Access database via ODBC... The first attempt is successfull, but if you try to read the same field again from the same result-set you get nothing. Reading non-memo-fields multiple times works OK. Reproduce code: --------------- $db = odbc_connect('DATABASE','XXXX','XXXX'); $res = odbc_exec($db, "SELECT Body FROM Letters WHERE LetterID = X"); echo "First attempt: ".odbc_result($res, 'Body'); // displays the letter body echo "Second attempt: ".odbc_result($res,'Body'); // displays nothing Expected result: ---------------- First attempt: [Letter body] Second attempt: [Letter body] Actual result: -------------- First attempt: [Letter body] Second attempt: