Looks fine for a starter class.
You can try and make a DB abstraction out of it.
Take the class, and change the name to something Generic.
Then have a function (or do it in the constructor) that sets the Database you want to use.
Then in each function (like connect) make specific code for each Database.
// Would connect to Mysql
$dbConn = new DBAbstract('mysql');
$dbConn->connect($host, $user, $pass);
// Would connect to Oracle
$dbConn = new DBAbstract('oracle');
$dbConn->connect($host, $user, $pass);
There are many things you can do with classes. Have fun creating new them.