echo $arbol->toHTML();
echo '<SELECT name="id">';
foreach ($arbol->toArray() as $id => $val) {
echo '<OPTION value="'.$id.'">'.$val.'</OPTION>';
}
echo '</SELECT>';
echo $arbol->toHTML();
echo '<SELECT name="id">';
foreach ($arbol->toArray() as $id => $val) {
echo '<OPTION value="'.$id.'">'.$val.'</OPTION>';
}
echo '</SELECT>';