i need to access the database stored in MS Access and need to connect it with php...
can anyone provide me the connection string etc for a DSN less conection?
Eg.
to connect VB->Access directly, i have the code and i want an equivalent for php->Access
Dim rs1 As New ADODB.Recordset
Dim sql1 As String
sql1 = "SELECT ename FROM exercises AS e1 WHERE e1.eid in (select eid from preventedby where aid in( select aid from ailment where aname like '" & Combo1.Text & "' ))"
rs1.Open sql1, cnglobal, adOpenDynamic, adLockPessimistic
Do While Not rs1.EOF
'Label6.AddItem rs.Fields("ename")
Label7.Caption = rs1.Fields("ename")
rs1.MoveNext
Loop
rs1.Close
Set rs1 = Nothing
2006-12-26
19:03:42
·
2 answers
·
asked by
ravi s
1
in
Computers & Internet
➔ Programming & Design