[PHP] Need help to create HTML table with 2 columns.

2001-08-23 Thread John Bass
image_link, web_url FROM testdata; $result = mysql_query ($query) or die (Query Failed); while ($row = mysql_fetch_object ($result)) { printf (trTD%sbr%s/TD TD%sbr%s/tr\n, $row-image_link, $row-web_url,$row-image_link, $row-web_url); } ? /TABLE Regards, John Bass

Re: [PHP] Need help to create HTML table with 2 columns.

2001-08-23 Thread John Bass
Hi, Thank you for the email. I tried your code, but first column is printing image_link web_url fields correctly and second column is repeating values of the first column. Other records or rows are printing same way. Regards, John Bass From: Jeff Lewis [EMAIL PROTECTED] Reply-To: Jeff

Re: [PHP] Need help to create HTML table with 2 columns.

2001-08-23 Thread John Bass
second column should print next record that was returned from the query. Thanks. John From: Jeff Lewis [EMAIL PROTECTED] Reply-To: Jeff Lewis [EMAIL PROTECTED] To: John Bass [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Need help to create HTML table with 2 columns. Date: Thu, 23 Aug