Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/06/2012, 06:31
Avatar de cesarin3134
cesarin3134
 
Fecha de Ingreso: enero-2012
Ubicación: Milan
Mensajes: 97
Antigüedad: 12 años, 3 meses
Puntos: 20
Respuesta: Agregar tag html en resultado de una query

lo resolvi asi :
Código PHP:

 <?php 
       
        $numberOfUls 
$NumeroFilas 4;
        
$numberOfLis 4;
        
         for(
$i 0$i $numberOfUls$i++)
            {
                echo 
'<ul class="RowListUl GalleryIllustrationUl">';
                for(
$j 0$j $numberOfLis$j++)
                {
                    
$Fila mysql_fetch_array($Result);
                    
$Titolo $Fila['Titolo'];
                    
$Descrizione $Fila['Descrizione'];
                    
$NomeImmagini $Fila['Immagini'];
            
                    
                    echo 
"<li>";
                    echo 
"<a href=\"Img/Illustration/Big/$NomeImmagini\" class=\"Item\"><img src=\"Img/Illustration/Small/$NomeImmagini\" width=\"212\" height=\"144\">";
                    echo 
"<div class=\"Caption\">";
                    echo 
"<strong>$Titolo</strong>";
                    echo 
"<p>$Descrizione</p>";
                    echo 
"</div></a>";
                    
                     
// Perhaps an array with the whole list $listContent[$i][$j];
                
}
                echo 
'</ul>';
            }
                  
         
?>
gracias de todos modos , y espero k el codigo le sirva a otros k tengan el mismo problema