Tema: Lista
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/01/2009, 17:11
Avatar de argy
argy
 
Fecha de Ingreso: octubre-2007
Ubicación: Longitud 75º Latitud 18º Sur
Mensajes: 614
Antigüedad: 17 años, 4 meses
Puntos: 18
Respuesta: Lista

podria ser asi
Cita:
$var[1]=array("id"=>1,"descripcion"=>"sombrero","color"=> "azul");
$var[2]=array("id"=>2,"descripcion"=>"coche","color"=>"ro jo");
luego recorrer con foreach
__________________
Software libre para un mundo libre.

Eventualmente en el foro.