Printing MySQL into HTML Tables
| From: | Jeff Oien | Date: | Thu, 22 Mar 2001 21:19:09 +0000 |
| Subject: | Printing MySQL into HTML Tables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45188@lists.php.net to get a copy of this message | ||
I would like to do this with a MySQL database containing
product information:
<tr><td>Product 1 Info</td><td>Product 2 Info</td></tr>
<tr><td>Product 3 Info</td><td> </td></tr>
And if there are an odd number of products I want it to
complete the table row with nothing in the cell. I want
it to be able to automatically do this no matter how many
products there are. I'm not sure how to set it up to
print every other like that.
Jeff Oien