Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2014, 14:39
ocp001a
Colaborador
 
Fecha de Ingreso: mayo-2008
Ubicación: $MX['VZ']['Xalapa']
Mensajes: 3.005
Antigüedad: 16 años
Puntos: 528
Respuesta: problema con array

supongo que algo así, suponiendo que usaras mysql

$result=mysql_query("select ntel,nombre from mitabla where id=$idabuscar");
$fila=mysql_fetch_assoc($result);
$people = array(
$fila['ntel']=>$fila['nombre'],
);