Location: PHPKode > scripts > TQuery > tquery/TQuerySample.php
<?
$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");
    }
?>
Return current item: TQuery