igual y así sería algo funcional
Código PHP:
Ver originalfunction menu(){
$menu=array('index.php'=>'Home','?comunidad'=>'Comunidad'); echo '<ul>';
foreach($menu as $href =>$title){
echo'<li><a href="'.$href.'" title="'.$title.'">'.$title.'</a></li>';
}
echo 'ul';
}
menu();
eso creo ^_^"
saludos.