--- inc/common.inc 2001/06/25 09:57:25 1.1 +++ inc/common.inc 2001/06/28 13:38:52 1.2 @@ -4,7 +4,7 @@ // fetch menu -$sth = $dbh->prepare("select item,url,file from menu where section='$section' order by num"); +$sth = $dbh->prepare("select item,url,file from menu where section='$section' and visible order by num"); $sth->execute(); while ($row=$sth->fetchrow_hash()) { $menu[]=$row;