to connect to db via ODBC: $dbhandle = @odbc_connect('your_ODBC_DSN', 'user','password');
if($dbhandle == 0) { die('Database not connected'); } where "your_ODBC_DSN" is name of your ODBC source; then you use all odbc instructions to work with your db using for example: 1. odbc_exec($dbhandle, $query); 2. odbc_fetch_row($cursor); 3. odbc_result($cursor,'db_field_name'); then at the end you close your database: odbc_close($dbhandle); Read more in the manual under "Unified ODBC functions" HTH Piotr --- Kishore Kumar <[EMAIL PROTECTED]> wrote: > I am trying to connect MS Access XP with PHP. > > Could Some One Tell Me How to Write a Code For that. > (A Sample Code Will Be > Better For Me To Understand). > > > Advance Thanks. > By Kishore. > > _________________________________________________________________ > It's all happening @ F1. Feel the thrill! > http://server1.msn.co.in/sp03/formula2003/index.asp > Race along right here! > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php