Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/12/2004, 11:46
fgarrido
 
Fecha de Ingreso: diciembre-2004
Mensajes: 3
Antigüedad: 19 años, 4 meses
Puntos: 0
Re

Hola, lo que necesitas es esto :

$con=ocilogon('*****', '*****', '***.***.***.***');
$id="USUARIO";
$sql = "select * from auth_user where user_id = :id";
$stm = ociparse($con,$sql);
OCIBindByName($stm, ":id", $id);
ociexecute($stm);
while (OCIFetchInto ($stm, $fila, OCI_NUM)) {
echo $fila[1];
echo $fila[2];
}
Espero te sirva, saludos.

Última edición por fgarrido; 21/12/2004 a las 11:47