URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID8
Нить номер: 2102
[ Назад ]

Исходное сообщение
"Have you ever worked with PHP+MS Access? "

Отправлено vitor , 13-Фев-04 22:09 
Have you ever worked with PHP+MS Access?
If yes, do you know, how to correct call odbc_connect()
this try doesn't work though I have ODBC name Northwind
$db = odbc_connect("Northwind","","");
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in e:\program files\apache group\apache\htdocs\test.php

Содержание

Сообщения в этом обсуждении
"Have you ever worked with PHP+MS Access? "
Отправлено a.stepanoff , 16-Фев-04 13:58 
i have worked code. no any problem observe!
in my script:
...
$db=odbc_connect("voip","Admin","");
...
                         ^^^^^- as i know it's must be set. MS Access by defualt set login as "Admin" and pass "" (empty) if you not set another

in my ODBC manager:
i create data source "voip" in page "system DSN"

good luky and sorry for my english :))