Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: for each question

<?php

global $bbdb;

$r = mysql_query("SELECT * FROM $bbdb->menu WHERE set = 'active' ORDER BY order ASC");

while($rw = mysql_fetch_array($r)) <strong>{</strong>

$class="";

if ($rw['is']) { $class .=" current" }

echo '<li><a class="$current" href="'.$rw['page'].'">'.$rw['item'].'</a></li>';

}

?>

Skip to toolbar