Lab implementation of DAO Pattern in PHP5