
16/05/2007, 06:52
|
| | Fecha de Ingreso: marzo-2006
Mensajes: 137
Antigüedad: 19 años Puntos: 0 | |
matriz ordenada alguin sabe como ordenar esta matriz por el campo donde estan los numeros??
$matriz[0][1]="a";
$matriz[1][1]= "1";
$matriz[0][2]="c";
$matriz[1][2]= "3";
$matriz[0][3]="b";
$matriz[1][3]= "2";
for($x=0;$x<5;$x++)
{
for($y=0;$y<5;$y++)
{
echo $matriz[$x][$y];
}
} |