<?php require("../passit.php"); $stmt = OCIParse("select UPI, ORG from WEB_DS where REC_VALUE = 'uczmdsk1'"); OCIExecute($stmt); ---------------- According to the manual, this returns a boolean. I have never used oracle with php but you need to find a function which actually returns a result set in the same way that this function does, for example http://uk2.php.net/manual/en/function.mssql-query.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php