Does any provider have wrapped all/any database access funcion for php? So that Database changes easily.
You can use phplib DB_Sql classes that provide the same function to access any rdbms.
However, you will still have to fix differences between sql syntaxes from several databases.
You can download it from there:
http://phplib.netuse.de/
It's called ODBC. I wish I could point you to a good tutorial, but I don't have any handy.
Try this one.
http://www.asptoday.com/articles/20000202.htm