<? $user="useroracle"; $pass="oraclepass"; $conn=ocilogon($user,$pass); $qryTmp = new Query($conn); $qryTmp->SQL = "select * from sometable"; if ($qryTmp->Open()) while ($qryTmp->Fetch()) { echo $qryTmp->FieldByName("my_field"); } ?>