Login   Register  
PHP Classes
elePHPant
Icontem

File: TQuerySample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marcio Sfalsin  >  TQuery  >  TQuerySample.php  >  Download  
File: TQuerySample.php
Role: Example script
Content type: text/plain
Description: A TQuery Sample
Class: TQuery
Abstract database acess layer for Oracle
Author: By
Last change: Bug 01
Date: 11 years ago
Size: 267 bytes
 

Contents

Class file image Download
<?
$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");
    }
?>