ODBC connect
| From: | Andreas Pucko | Date: | Tue, 15 May 2001 01:01:47 +0000 |
| Subject: | ODBC connect | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52781@lists.php.net to get a copy of this message | ||
Hi there,
I would like to get information out of a database via ODBC.
I switched from MySQL.
The old syntax does not work which was like:
while ($row = odbc_fetch_row($result))
{
printf ("<option value = \"%s\">%s</option>",
$row->nr,$row->name);
}
so, how do I get the nr and name out of the row??
Any suggestions?
Cheers
Andy