PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Osama Salama   ODBC on The Fly   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: ODBC on The Fly
Connect and query Microsoft Access databases
Author: By
Last change:
Date: 14 years ago
Size: 279 bytes
 

Contents

Class file image Download
<?php
require_once 'class.odbc.php';


$Db=new odbc('admin','000','db1.mdb'); //create object

$result=$Db->Query('select * from `tr` '); //select from db

if(is_array($result)){ //fetch data
foreach($result as $row){
print
"<li>$row[name]</li>";
}
}






?>