I have a list of urls that I need to echo from my "menu" table. Here is what I have so far, but I can't seem to figure out the rest of it. The urls below are obviously there to show the format of the original HTML.
<?php
$results = mysql_query("SELECT * FROM menu WHERE level='$level'");
$row = mysql_fetch_array($results);
?>
<li><a href="http://website.com/webservices/admin/achievments.php" target="ifrm">Achievments</a></li>
<li><a href="http://website.com/webservices/admin/avatar.php" target="ifrm">Avatar</a></li>
.... more urls ....