oskare100 Posted December 29, 2006 Share Posted December 29, 2006 Hello,I've my sales in a table. I want to be able to echo them in a "google search type design" (as shown in the attached picture) where each row is like a separate table. The screen shot of a script is of the RW download script and how they show the categories in that script. Is that possible and if, what would the php code look like?This is how my second "draft" table (the one which shows three rows and is one table) looks like in HTML (with one blank line at the bottom if it).[CODE]<table border="0" width="419" height="86" bgcolor="#C0C0C0" style="border-collapse: collapse"> <tr> <td height="13" width="308" colspan="2">$item_name</td> <td height="13" width="107">$item_number</td> </tr> <tr> <td height="21" width="97">Purchase date: </td> <td height="21" width="209">$item_date</td> <td height="55" width="107" rowspan="3"> <p align="center"><a href="http://downloads">Download</a></td> </tr> <tr> <td height="14" width="97">Price:</td> <td height="14" width="209">$item_price</td> </tr> <tr> <td height="12" width="97">Downloads</td> <td height="12" width="209">$item_downloads</td> </tr> <tr> <td height="6" width="413" colspan="3" bgcolor="#FFFFFF"> </td> </tr></table>[/CODE]I've searched but I couldn't find any information about how to create a such table in any of the guides I'm using.. If you have one that shows how to do this, feel free to post a link to it.... (if it isn't agains the forum rules)./Oskar[attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/32236-echo-a-table-from-mysql-with-each-row-shows-as-a-separate-se/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.