FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


is it possible to connect to Access Database using PHP?





archiep0gi
could you help me here..

please send me the connection string.

tanks!
kv
You can use odbc to connect to access db. It will look something like this

Code:


$db_connection = odbc_connect("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\\mydb.mdb", "ADODB.Connection", "password", "SQL_CUR_USE_ODBC");



Then you can use odbc functions like

Code:
odbc_tables
odbc_fetch_row
odbc_result


etc.

This works on windows only though.
Related topics
Access DataBase using visual basic6
Fixing 'Can't Connect to database' errors with phpBB.
How to connect 2 database from 2 host
What to learn first?
simple php problem, please help...
excel database
how to connect database through php
How do you Create a New Database using a php script?
A very good PHP MySQL Tutorial
Looking to make an online database using php and mysql
how to compress a file using php ?
HOW TO USE ADO TO WORK WITH ACCESS DATABASE IN VB
How to connect with database?
Using MySQL from DirectAdmin
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.