that returned the vehicle year, make and model with the year in red but the rest of the text black:
$buf = "<font color='#ff0000'>";
$buf .= $this->year . "</font>";
$buf .= "<font color='#000000'>";
$buf .= $this->make . " " . $this . "</font>";
that call database specific PHP methods to access the database. The base DAO could be used on
it’s own to provide data access on a PHP page, but in keeping with the MVC concepts, we use it
as an abstract class whose methods are implemented by objects that know about specific entities
in the database.
VehicleVO’s and the database. The constructor calls the base DAO’s constructor which establishes
the connection to the database.
function VehicleDAO($dbserver="", $dbname="", $dbuser="", $dbpass="")
parent::BaseDAO($dbserver, $dbname, $dbuser, $dbpass);