Hi All,

I am trying to generate a table with two columns.  Each column should print 
2 fields named image_link and web_url.  Have spent over week looking 
documentations and trying different coding but nothing is working.  Any help 
will be greatly appreciated.

$query = "SELECT image_link, web_url FROM testdata";
$result = mysql_query ($query) or die ("Query Failed");
while ($row = mysql_fetch_object ($result))
printf ("<tr><TD>%s<br>%s</TD> <TD>%s<br>%s</tr>\n", $row->image_link, 
$row->web_url,$row->image_link, $row->web_url);


John Bass

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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