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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to