| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [1999-12-13 16:28 UTC] joey at cvs dot php dot net
  [2000-02-12 21:14 UTC] andi at cvs dot php dot net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 04:00:01 2025 UTC | 
function db_array($f, $t, $order, $min, $max) { global $db; $q = sybase_query( "SELECT $f from $t WHERE $order BETWEEN $min and $max ORDER BY $order", $db); $i = 0; while ($a = sybase_fetch_array( $q )) { $r[$i] = $a[0]; $i++; } if (is_array($r)) return $r; return 0; } Whenever I call this function, I get: cgi_main.c(323) : Freeing 0x081EE7D0 (2 bytes), script=i configure is ./configure --with-zlib --enable-bcmath --with-mm \ --with-sybase-ct=/usr/local/sybase --enable-trans-sid \ --with-db2 --enable-dmalloc --with-gd --with-ttf \ --with-imap --with-ftp --with-mysql --with-xml \ --enable-force-cgi-redirect