Muestra los resultados pero una vez se muestran no se esconde
Código PHP:
  
<script>
OCULTO='none'; 
VISIBLE='block'; 
 
function mostrar(blo) { 
document.getElementById(blo).style.display=VISIBLE; 
document.getElementById('ver_off').style.display=VISIBLE; 
document.getElementById('ver_on').style.display=OCULTO; 
} 
function ocultar(blo) { 
document.getElementById(blo).style.display=OCULTO; 
document.getElementById('ver_off').style.display=OCULTO; 
document.getElementById('ver_on').style.display=VISIBLE; 
}
 
</script>
 
 
<?php 
    
    echo "<div id='ver_off' style='display: none;'><a onclick=ocultar('div{$group}') href='#'><span><b>{$title}</b></span></a></div>"; 
    
    echo "<div id='ver_on' style='display: block;'><a onclick=mostrar('div{$group}') href='#'><span><b>{$title}</b></span></a></div>";
    
   
   
    echo "<div id='div{$group}' style='display: none;'>";
?>    Gracias por adelantado,un saludo
 
 


