Hi!
Help me? i beg you....
problem - inner WHILE is newer executed (see code below),
I see "!!!!!!" but never "-------"
OCIFetchInto($cursor2,$values2) is always false. Why?
$conn = OCILogon("user","pass*","test");
$query = "select id,ord,title from lit.types order by ord";
$cursor = OCIParse($conn,$query);
$result = OCIExecute($cursor);
$i=1;
while (OCIFetchinto($cursor,$values)){
echo "!!!!!";
$query2 = "select id,ord,types,title from lit.subtypes where types = ".$values[0]." ";
$conn2 = @OCINLogon($conn);
$cursor2 = @OCIParse($conn2,$query2);
$result2 = OCIExecute($cursor2);
while(OCIFetchinto($cursor2,$values2)){
echo "------------------------";
}
OCILogoff($conn2);
$i++;
}
OCILogoff($conn);