| 
<?
require_once("./dList.php");
 
 $top=new dList();
 $sub=new dList();
 $subsub=new dList();
 $top->SetIdentity("TopNode");
 $sub->SetIdentity("SubNode");
 $subsub->SetIdentity("SubSubNode");
 
 $top->Add("Link 1");
 $top->Add("Link 2");
 $top->Add("Link 3");
 
 $sub->Add("Link 3.1");
 $sub->Add("Link 3.2");
 $sub->Add("Link 3.3");
 
 $subsub->Add("Link 3.3.1");
 $subsub->Add("Link 3.3.2");
 $subsub->Add("Link 3.3.3");
 
 $sub->Add($subsub);
 $top->Add($sub);
 
 $top->Add("Link 4");
 $top->Add("Link 5");
 
 echo "<table>";
 echo "<tr><td>";
 $top->SaveRecursiveEdit($internal);
 $top->RecursiveEdit("internal");
 echo "</td></tr>";
 echo "</table>";
 
 ?>
 |