Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/06/2009, 05:10
superdober
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Pintar Matriz por Pantalla

Solucion Para Imprimir una Matriz:

Código PHP:
echo "La matriz es: <br/>";

for(
$i=0;$i<count($matriz);$i++)
  {
    for(
$j=0;$j<count($matriz[0]);$j++)
      {
       echo 
$matriz[$i][$j]."-";
      }
    echo 
"<br/>"
  } 
Gracias.