Oh, man, wrong syntactic! SORRY!!Paal wrote: Results:Code: Select all
<ul> <li><a href="index.php?id=11,0,0,1,0,0">Menu 1</a></li> <ul> <li><a class="cell_active" href="index.php?id=12,0,0,1,0,0">SubMenu 1/1</a></li> <ul> <li><a href="index.php?id=20,0,0,1,0,0">SubSub 1/1/1</a></li> </ul> <li><a href="index.php?id=14,0,0,1,0,0">SubMenu 1/2</a></li> </ul> <li><a href="index.php?id=13,0,0,1,0,0">Menu 2</a></li> <li><a href="index.php?id=16,0,0,1,0,0">Menu 4</a></li> <li><a href="index.php?id=15,0,0,1,0,0">Menu 3</a></li> </ul>
The correct results:
Code: Select all
<ul>
<li><a href="#">Menu 1</a>
<ul>
<li><a href="#">SubMenu 1/1</a></li>
</ul>
</li> <!-- correct space the </li> tag -->
</ul>
Code: Select all
<ul>
<li><a href="#">Menu 1</a></li> <!-- NOT HERE!! -->
<ul>
<li><a href="#">SubMenu 1/1</a></li>
</ul>
</ul>
Sorry again, Paul