Tema: vectores
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 18/01/2010, 15:51
sergiop21
 
Fecha de Ingreso: diciembre-2008
Mensajes: 805
Antigüedad: 15 años, 5 meses
Puntos: 20
Respuesta: vectores

en realidad es asi lo que hice recien fue una prueba nada mas ahora te paso bien como esta hecho:

Código PHP:

while ($row pg_fetch_object($sql))
{

$tot['tipo']=$row->tipo;
$tot['sub']=$row->subtipo;

array_push($total$tot);


}
return 
$total