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

2001-08-23 Thread Dave Freeman
On 23 Aug 01, at 14:30, John Bass wrote: > > $query = "SELECT image_link, web_url FROM testdata"; > $result = mysql_query ($query) or die ("Query Failed"); > while ($row = mysql_fetch_object ($result)) > { > printf ("%s%s %s%s\n", $row->image_link, > $row->web_url,$row->image_link, $row->web_u

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]> &g

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

2001-08-23 Thread Jeff Lewis
]> Sent: Thursday, August 23, 2001 11:16 AM Subject: Re: [PHP] Need help to create HTML table with 2 columns. > 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

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

2001-08-23 Thread John Bass
ROTECTED]> >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 2001 10:41:08 -0400 > >John, > >Try t

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

2001-08-23 Thread Markus Bertheau
ho, John Bass wrote: > printf ("%s%s %s%s\n", $row->image_link, ^^ You forgot to close the td tag, maybe your browser didnt display the table because of that. Markus Bertheau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

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

2001-08-23 Thread Jeff Lewis
John, Try this: ".$row->image_links."".$row->web_url." ".$row->image_link."".$row->web_url."\n"); } ?> - Original Message - From: "John Bass" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 10:30 AM Subject: [PHP] Need help to create HTML table with 2 co