so hab alles mögliche was mir einfällt probiert und hab es jetzt so aber das klappt auch nicht richtig
tpl
PHP-Code:
while($row_catagories = mysql_fetch_object($sql2))
{
$catagories[] = array(
'cat_title' => $row_catagories->title,
);
$forums[] = array(
'forum_name' => $row_catagories->name,
'forum_desc' => $row_catagories->description
);
}
Code:
<table border="1" cellspacing="0" width="900" > <tr> <td> {foreach from=$catagorie item=categorie} <br><br>{$catagorie.cat_title} <br> {foreach from=$forums item=forums} --->{$forums.forum_name} <br> --->{$forums.forum_description} {/foreach} {/foreach} </td> </tr> </table>
Kommentar