// parse/bind your statement
if (oci_fetch($your_statement)) {
... // do something when there is rows
}
else {
... // do something when there is no rows
}
// parse/bind your statement
if (oci_fetch($your_statement)) {
... // do something when there is rows
}
else {
... // do something when there is no rows
}