Longhorn PHP 2025 - Call For Papers

Voting

: nine minus nine?
(Example: nine)

The Note You're Voting On

thorsten at rinne dot info
21 years ago
odbc_fetch_object() works nice with PHP 4.3.3 under W2K with IBM DB2 V.7.2 and V.8.1:

<?php
$conn
= odbc_connect($db_name, $username, $password) or die(odbc_error_msg());
$sql = "SELECT * FROM TABLE";
$result = odbc_exec($conn, $sql);
while (
$rows = odbc_fetch_object($result)) {
print
$rows->COLUMNNAME;
}
odbc_close($conn);
?>

<< Back to user notes page

To Top