I'm sorry i can't help you but i'm trying to do the same as you. I'm working with a Microsoft Access database and i'm trying to know how to connect to the dbase in php, that means how to translate:
<% set connectiondb = Server.CreateObject("ADODB.Connection")
connectiondb.open "DSN=mydbase"
set recordsetdb = Server.CreateObject("ADODB.Recordset")
recordsetdb.open "SELECT * FROM table",connectiondb,0,1,adcmdtext %>
I'think that once i've solved that problem i should find out how to do the rest
Could somebody help me?