"SøRen Nielsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can it be done with odbc ? > I have tried and tried but nothing seems to work. > Does anyone know if the Workstation ID can be set if i connect with odbc ? > > Best regards, > Soeren Nielsen >
I tried to do it at home (PWS and PHP4) and it worked. I used Windows' ODBC administration tool to create an Access driven database. In php code i used the following commands: $db=odbc_connect("<DSN>","<username>","<password>"); followed by $ersult=odbc_exec($db,"select * from........"); and it worked. But, when i tried in school on win2k server, i got the following error on odbc_connect(): Warning: SQL error: , SQL state 00000 in SQLConnect in c:\inetpub\wwwroot\Ban\php\odbc.php on line 2 Can anyone help? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]