Just curious. I tried accessing MySQL through ODBC using 
a system DSN (MyODBC driver ver. myodbc-2.50.36-nt.zip)
and a script as simple as this one crashes Apache at the 
odbc_fetch_row() call. I actually don't know much about 
ODBC related stuff inside PHP... or generally, for that 
matter, so I don't know whether this is unsupported, or 
whether a more stable state is possible / desirable.


$conn = odbc_connect( $dsn , $usr , $pwd );
$res = odbc_tables( $conn ) ;
while( $r = odbc_fetch_row( $res ) ) {
        for( $i = 0 ; $i < count( $r ) ; $i++ ) {
                echo $r[ $i ] , '|' ;
        }
        echo "\n" ;
}




____________________________________________________________
Cynic:

A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.

[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to