DB factory extension 1.0
This PHP script provides a simplified database access interface by extending PEAR::DB class. DB factory extension can be used to establish connections returning a boolean success value instead of PEAR error object.
The script executes queries automatically connecting to a database before executing and disconnecting after the query is executed. If the query returns result values it may also retrieve the result set into an array before disconnecting.