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
simple php problem, please help...
A very good PHP MySQL Tutorial
Fixing 'Can't Connect to database' errors with phpBB.
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
Access DataBase using visual basic6
How to connect with database?
Using MySQL from DirectAdmin
excel database
how to connect database through php
How to connect 2 database from 2 host
How do you Create a New Database using a php script?
What to learn first?
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.