<?php require("db_connect.php"); $dbConn = new database(); $dbConn->query("select * from employee"); if($dbConn->num_rows()>0){ while($dbConn->moveNext()){ echo $dbConn->getField("firstName"); echo "<br>"; } } ?>
info at phpclasses dot org