Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-07-26 09:35
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>";
}
}






?>