How I do this?
| From: | Reynier Pérez Mira | Date: | Sat, 12 Mar 2005 02:01:15 +0000 |
| Subject: | How I do this? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12314@lists.php.net to get a copy of this message | ||
Well the question is if I have a table formed in this way:
table_name: forums_categories
ID Title
1 Category1
2 Category2
3 Category3
4 Category4
and I have another table formed in this way:
table_name: forums
ID IDC Title
1 1 Forum1
2 1 Forum2
3 1 Forum3
4 2 Forum4
5 3 Forum5
6 4 Forum6
How I made a table? For example the table will be like this:
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td>Category1</td>
</tr>
<tr>
<td>Forum1</td>
</tr>
<tr>
<td>Forum2</td>
</tr>
<tr>
<td>Forum3</td>
</tr>
<tr>
<td>Category2</td>
</tr>
<tr>
<td>Forum4</td>
</tr>
<tr>
<td>Category3</td>
</tr>
<tr>
<td>Forum5</td>
</tr>
<tr>
<td>Category4</td>
</tr>
<tr>
<td>Forum6</td>
</tr>
</table>
did you understand me ???
Regards !!!
Reynier Pérez Mira
---------------------------------