
07/02/2009, 14:52
|
 | | | Fecha de Ingreso: diciembre-2008
Mensajes: 351
Antigüedad: 16 años, 2 meses Puntos: 4 | |
Respuesta: Como poner 3 registros en una fila. Trato de hacer eso, pero no me sale. Perdonad mi ignorancia.
$str = '<table border="1">';
for ($i = 1; $i <= 2; $i++ ) {
$str.= '<tr>';
for ($j = 1; $j <= 2; $j++ ) {
$str.= '<td>
print " Ime na potrebitela: ";
echo($row["ime"]);
print " <br>";
print " Email: ";
echo($row["mail"]);
print " <br>";
print " Mensaje: ";
echo($row["mensaje"]);
print " <br>";
print"<hr>";
'.$j.'</td>';
}
$str.= '</tr>';
}
$str.= '</table>';
echo $str; |