I solved halve of my problem by using ocifetchinto and setting the parameter OCI_RETURN_NULLS. Know still an error is fired when i try to fetch without there being a single record in the resultset.
if i do this
ocifetchinto($stmt, $result, OCI_ASSOC+OCI_RETURN_NULLS)or die("Shot during fetch :)");
And the recordset is empty i get Shot during fetch.
Is there away to by pass this? . . .
that is easier then this construction:
if(oci_num_rows($stmt)>0){
ocifetchinto($stmt, $result, OCI_ASSOC+OCI_RETURN_NULLS)or die("Shot during fetch :)");
}
TIA