<?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>"; } } ?>
info at phpclasses dot org