[eluser]xtremer360[/eluser]
I'm wanting my end result to turn out something like this:
Code:
<ul id="nav_main">
<li class="current">
<a href="#">
<img src="img/icons/25x25/dark/computer-imac.png" alt="">
Dashboard
</a>
<ul>
<li class="current">
<a href="dashboard.html">Dashboard</a>
</li>
<li>
<a href="404.html">404</a>
</li>
<li>
<a href="login.html">Login</a>
</li>
</ul>
</li>
</ul>
As of right now I have this:
Code:
$list = array(
anchor('#', img())
);
$attributes = array(
'class' => 'nav_main'
);
?>
<?php echo ul($list, $attributes); ?>