
03/10/2011, 11:42
|
| | Fecha de Ingreso: octubre-2011 Ubicación: Chile
Mensajes: 3
Antigüedad: 13 años, 5 meses Puntos: 0 | |
Respuesta: Días de la semana array y tablas php Correcto estaba todo mal, pude hacer algo aquí:
<?php
$arreglo = array("Lunes","Martes","Miercoles","Jueves","Viern es","Sabado","Domingo");
echo '<table border="1">'.
'<tr>'.
"<td>$arreglo[0]</td>".
"<td>$arreglo[1]</td>".
"<td>$arreglo[2]</td>".
"<td>$arreglo[3]</td>".
'</tr>'.
'<tr>'.
"<td>$arreglo[4]</td>".
"<td>$arreglo[5]</td>".
"<td>$arreglo[6]</td>".
'</td>'.
'</table>';
?> |