odbc/array
| From: | Jello | Date: | Sun, 04 Feb 2001 11:46:58 +0000 |
| Subject: | odbc/array | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5370@lists.php.net to get a copy of this message | ||
i use
$Outer=0;
while( odbc_fetch_row( $sql_result )){
$Outer++;
print "<tr>";
for($i=1; $i <= $Fields; $i++){
printf("<td>%s</td>", odbc_result( $sql_result, $i ));
}
print "</tr>";
}
which gets and prints the info from my DB.... how can i assign a variable to
each of the fields returned
$var1 = row1 data
$var2 = row2 data etc....
like the mysql_fetch_array .... please help as this is driving me up the
wall.
Thanks
Jeremy