Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/07/2012, 14:36
Avatar de Heiroon
Heiroon
 
Fecha de Ingreso: junio-2010
Ubicación: Caracas, Venezuela - Por ahora...
Mensajes: 495
Antigüedad: 13 años, 11 meses
Puntos: 63
Pregunta Respuesta: Array de array

¿Y la estructura que tienes arriba como la has obtenido?

Porque no veo que en la que imprime $aux, todo se encuentre dentro de un mismo array, sino en varios separados...

Código PHP:
Ver original
  1. array(1)
  2. {
  3.     [0]=> array(4)
  4.     {
  5.         ["id"]=> string(1) "6"
  6.         ["nombre"]=> string(9) "Recibidas"
  7.         ["tipo"]=> string(4) "Car1"
  8.         ["id_owner"]=> string(1) "0"
  9.     }
  10. }
  11. array(1)
  12. {
  13.     [0]=> array(4)
  14.     {
  15.         ["id"]=> string(1) "5"
  16.         ["nombre"]=> string(6) "Cartas"
  17.         ["tipo"]=> string(4) "Car1"
  18.         ["id_owner"]=> string(1) "0"
  19.     }
  20. }
  21. array(1)
  22. {
  23.     [0]=> array(4)
  24.     {
  25.         ["id"]=> string(1) "2"
  26.         ["nombre"]=> string(8) "Facturas"
  27.         ["tipo"]=> string(4) "Car1"
  28.         ["id_owner"]=> string(1) "0"
  29.     }
  30. }
  31. array(0) { }
  32. array(0) { }
  33. array(3)
  34. {
  35.  
  36.     [0]=> array(4)
  37.     {
  38.         ["id"]=> string(1) "3"
  39.         ["nombre"]=> string(15) "Correspondencia"
  40.         ["tipo"]=> string(4) "Car1"
  41.         ["id_owner"]=> string(1) "0"
  42.     }
  43.     [1]=> array(4)
  44.     {
  45.         ["id"]=> string(1) "4"
  46.         ["nombre"]=> string(6) "Ventas"
  47.         ["tipo"]=> string(4) "Car1"
  48.         ["id_owner"]=> string(1) "0"
  49.     }
  50.     [2]=> array(4)
  51.     {
  52.         ["id"]=> string(1) "3"
  53.         ["nombre"]=> string(18) "Correspondenciawww"
  54.         ["tipo"]=> string(4) "Doc0"
  55.         ["id_owner"]=> string(1) "0"
  56.     }
  57. }
__________________
Gmail : [email protected]
Twitter: @heiroon

I'm back!