note 2820 modified in odbc_fetch_row by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 15:20:45 +0000 |
| Subject: | note 2820 modified in odbc_fetch_row by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6051@lists.php.net to get a copy of this message | ||
see following i.e:
$cx=odbc_connect('ww');
$cur=odbc_exec($cx,"select id,pass from table_name");
while(odbc_fetch_row($cur)){
$id=odbc_result($cur,1);
$pass=odbc_result($cur,2);
echo "id:$id,pass:$pass <br>";
}
http://www.php.net/manual/function.odbc-fetch-row.php