Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/06/2010, 14:30
Avatar de spider_boy
spider_boy
 
Fecha de Ingreso: diciembre-2003
Ubicación: Chile
Mensajes: 1.855
Antigüedad: 20 años, 4 meses
Puntos: 89
Respuesta: Insertar en un arreglo multidimensional

Puedes hacer esto :

Código PHP:
Ver original
  1. for($i=1; $i<16;$i++)
  2.  $arr[] = array ($i => array(id =>$row[cliente_id], nombre => $row[nombre], centro =>$row[ctn], noservicio =>$row[no_servicio],gestion =>$row[gestion]));

Siendo la variable $arr misma un arreglo, o utilizar array_push.
__________________
Nunca te olvidaré mi negra hermosa. Te extraño demasiado.