| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2001-04-16 22:50 UTC] kalowsky@php.net
  [2001-04-16 23:15 UTC] badams at ingenico dot com dot au
  [2001-06-01 23:11 UTC] kalowsky@php.net
  [2011-08-30 20:30 UTC] yago@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 11:00:01 2025 UTC | 
If calling odbc_tables in a loop the database connection must be closed before callign odbc_tables again. Error Exception: access violation 0xc0000005) eg This FAILS for($i=0; $i<sizeof($dbname); $i++) { $conn = odbc_conn($dbname[$i], $name, $pword); $res = odbc_tables($conn); $n = 1; while( odbc_fetch_row($res, $n)) { ... } } odbc_close_all( ); Yet this works fine for($i=0; $i<sizeof($dbname); $i++) { $conn = odbc_conn($dbname[$i], $name, $pword); $res = odbc_tables($conn); $i = 1; while( odbc_fetch_row($res, $i)) { ... } odbc_close_all( ); } Thanks in advance...