note 2820 deleted from function.odbc-fetch-row by felipe
| From: | felipe@php.net | Date: | Sun, 20 Jul 2008 23:18:24 +0000 |
| Subject: | note 2820 deleted from function.odbc-fetch-row by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142342@lists.php.net to get a copy of this message | ||
Note Submitter: zhilin at 188 dot net
----
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>";
}