Tema: vectores
Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/01/2010, 15:48
Avatar de JessicaTJ
JessicaTJ
 
Fecha de Ingreso: enero-2007
Ubicación: 127.0.0.1
Mensajes: 472
Antigüedad: 17 años, 4 meses
Puntos: 25
Respuesta: vectores

No sera asi:
Código PHP:
$total = array();

while (
$row pg_fetch_object($sql))
{


$row['tipo'] = '1';
$row['marca'] = '2';

array_push($total$row);


}
return 
$total
__________________
٩(͡๏̯͡๏)۶ || ٩(͡๏̯͡๏)۶