Hi
I am using pph/oracle, and need to retrieve the value from a specifically collumn,
I try assign value from an array " $nrows['NOME_OPER']; "
wich comes from an ocifetchstatement();
But it did not bring the result i need .
$db_conn = ocilogon("x", "x", "x");
$cmdstr = "SELECT NAME_OPER, x, x FROM x ";
$parsed = ociparse($db_conn, $cmdstr);
ociexecute($parsed);
$nrows = ocifetchstatement($parsed, $results);
if($nrows>0){
$_SESSION['nome']= $nrows['NAME_OPER']; //My attempt !
header ("location: index1.php");
} else {
header ("location: index.htm");
}
OCIFreeStatement($cmdstr);
OCILogoff($db_conn);
Thank“s in advance