0) { echo"|"; } //Rückgabeschleife for ($i=0; $i<$num; $i++) { $id = mysql_result($res, $i, "id"); $nm = mysql_result($res, $i, "name"); $mc = mysql_result($res, $i, "main_cat"); $po = mysql_result($res, $i, "pos"); $ac = mysql_result($res, $i, "active"); $pi = mysql_result($res, $i, "parent_id"); echo ' '; echo $nm; echo ' |'; } ?>