Hi !!
I just made the backend selectable and integrated the MDB2 backend ..
as it looks like MDB2 can get rid of almost all problems with different syntax in mysql/postgres/sqlite, maybe MDB2 is the way to go. Also it would be better to put all sql queries appart from the main code, making classes that encapsulate all the db handling (add/delete/count/query)