Here goes a tiny snippet that should get you started by using Oracle as your database instead of the classic MySql RDBMS.

<?php

// At first, get connected to the instance of your RDBMS
$conn = oci_connect("user", "password", "THE_ORACLE_INSTANCE_ADDRESS");

// Test if the connection is OK
if (!$conn) {
   $m = oci_error();
   echo $m['message'], "n";
   exit;
}

// Create an sql statement
$sql = "Select * from YOUR_TABLE";

// Prepare and execute the statement
$stid = oci_parse($conn, $sql);
oci_execute($stid);

echo '<table>';
// Read all rows of the result set
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS+OCI_ASSOC)) {
   echo '<tr>';
   // now read each column of the row
   foreach ($row as $item) {
       print '<td>'.($item?htmlentities($item):' ').'</td>';
   }
   print '</tr>';
}
print '</table>';

// Close the Oracle connection 
oci_close($conn); 

?>

This is only to get you started. You can read more on the topic right here.