For the DB thing, I was merely saying that you could support mysql 3/4 and 4.1/5 at the same time if you had say two classes that extended a main class, one ofr MySQL the other for MySQLi 😉
If you want a good example of that, take a look at Zend_Db with Zend_Db_MySQL and Zend_Db_PDO_MySQL. I like that framework as I work with it more. The whole DBAL is pretty good with them. You can either generate a query string using OOP calls like:
$select = $db->select()
->from(array('alias'=>'tablename'), array('column1', 'column2', 'column3'))
->where('alias.column2 = ?', $myVar)
->limit(2);
Or you can create your own SQL string and give it directly to functions like:
$result = $db->fetchRow("SELECT * FROM `table` LIMIT 0,2");
It's really really nice to work with 😉 But you said this was a side-project and one for fun. So if it's not "going" anywhere, then I wouldn't worry about it; however, you always gotta think about "what if" I wanted to support Postgre or MSSQL or Firebird or Oracle or SQLite or some other RDBMS.