if you are advanced enough in php, you can try john lim's adodb. its the most robust database abstraction ever made (and it's fast).
anyway, if you're interested in php new feature, you can try pdo. its the candidate for all database extension substitute (ext/mysql, ext/oci8, ext/pgsql, etc)
__________________
just an ignorant noob with moronic solution...