note 29675 deleted from function.odbc-fetch-row by victor
| From: | victor@php.net | Date: | Fri, 21 Feb 2003 13:30:08 +0000 |
| Subject: | note 29675 deleted from function.odbc-fetch-row by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44312@lists.php.net to get a copy of this message | ||
<?php
$conn = odbc_connect("WebDB", "", "");
$query = "select user, idno ";
$query .= "from userinfo";
$result_id = odbc_do($conn, $query);
while(odbc_fatch_row($result_id)) {
$user = odbc_result($result_id, 1);
$idno = odbc_result($result_id, 2);
echo $user."µÄÉí·ÝÖ¤×ÖºÅΪ".$idno."<br>\n";
}
odbc_close($conn);
?>