Please Help, i'm figuring out how to loop this certain html and php code. I'm stocked here.
for($x=1; $x<=10; $x++)
{
<li <?php if (strpos($_SERVER['PHP_SELF'], $navserver[$x]))
echo 'class="active"';?>><? php echo '<a href="'.$navlink[$x].'">',
$navdesc[$x] ?></a></li>
}