I learn by example and the combination of php and oracle is not as common as things like mysql and php or asp and access. So it was quite difficult to track down any code. I think the complete lack of responses on this board proves that quite well (unless everyone thought I was just lazy due to your comment)
I eventually found some help and ended up with a very basic query like this. Hopefully someone else finds it useful.
<html>
<body>
<?
$db = "servicename";
$conn = OCILogon("fakeuser","fakepass", $db);
$stmt = OCIParse($conn,"select id, name from test order by id");
OCIDefinebyname($stmt,"ID",$yar);
OCIDefinebyname($stmt,"NAME", $buh);
OCIExecute($stmt);
while (OCIFetch($stmt)) {
echo "ID:".$yar."\n<br>";
echo "Name:".$buh."\n<br><br>";
}
OCIFreestatement($stmt);
OCILogoff($conn);
?>
</body>
</html>