
13/06/2012, 16:18
|
 | | | Fecha de Ingreso: febrero-2012
Mensajes: 26
Antigüedad: 13 años Puntos: 1 | |
Respuesta: tabla dentro de un foreach Hice esto:
<?php
//var_export($this->data);
foreach($this->data as $row){
echo"<table border=1px>
<tr>
<td><img width=100 height=100 src='/tmp/".$row['ffoto']."'></td>
</tr>
<tr>
<td>".$row['fnombre']."<br>"
.$row['fapellido']."<br>"
.$row['fsexo']."<br></td>
</tr>
</table>";
}
?>
o tan bien esto que es peor todavia, pero lo probe por si las moscas:
<?php
//var_export($this->data);
foreach($this->data as $row){
echo"<table border=1px>
<tr>
<td><img width=100 height=100 src='/tmp/".$row['ffoto']."'></td>
</tr>
<tr>
<td>".$row['fnombre']."</td>
<td>".$row['fapellido']."<td>
<td>".$row['fsexo']."</td>
</tr>
</table>";
}
?>
no pasa nada, la info sigue mostrandose igual...
gracias por sus aportes |