moin moin
ich möchte dies in eine recursive funktion packen(liste soll baumartig sein) jedenfalls ist das meine aufgabe...jeztzt is das problem hab keine ahnung was eine recursive funktion ist und wie ich das realiesieren soll ...
PHP-Code:
echo '<ul>';
while($row = mysql_fetch_array($res))
{
echo '<li><a href="showanswers.php?fid='.$fid.'&tid='.$row["id"].'"></li>';
echo $row["topic"]."<br>";
}
echo '</ul>';
echo "<a href=\"newthread.php?fid=".$fid."\">Neuer Thread</a>";
ich möchte dies in eine recursive funktion packen(liste soll baumartig sein) jedenfalls ist das meine aufgabe...jeztzt is das problem hab keine ahnung was eine recursive funktion ist und wie ich das realiesieren soll ...


Kommentar