Databases: DB factory extension
LUIS (contact me)
This class extends the PEAR::DB class to provide a simplified database access interface.
It can establish connections returning a boolean success value instead of PEAR error object.
It can execute 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.
Click here for detailed information about this class on phpclasses.org