Something like this should also work for you.
$var2=$row["col2"]; //etc., etc.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:Tony72284@;aol.com]
> Sent: Thursday, October 24, 2002 10:55 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] DB Print Columns and Rows
> Hello PHP people. I was wondering if I could get a
> question answered?
> How would I print a Database Table into a <table> when
> the DB Table
> has 4 columns, AND 4 rows.
> See I only know how to print one column.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php