RE: Php-mssql connection problems on Windows XP

2008-04-24 Thread Jerry Schwartz
>-Original Message- >From: Jerry Schwartz [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 24, 2008 10:01 AM >To: 'Padiyath Sreekumaran'; mysql@lists.mysql.com >Subject: RE: Php-mssql connection problems on Windows XP > >When using odbc_connect, you don&

RE: Php-mssql connection problems on Windows XP

2008-04-24 Thread Jerry Schwartz
24, 2008 5:56 AM >To: mysql@lists.mysql.com >Subject: Php-mssql connection problems on Windows XP > > >Hello, >I can connect to a SQL server in the following way from my windows OS >machine: >Start --> control Panel --> Administrative tools ---> Data >Sources(ODB

Re: Php-mssql connection problems on Windows XP

2008-04-24 Thread Sebastian Mendel
Padiyath Sreekumaran schrieb: Hello Sebastian, Thanks for your mail. But I donot see any difference in my $username and yours except '("). what surprise, yes, thats it! you have to use no quotes at all (or doublequotes) around variables, RTMF is this case the one from PHP but what has thi

Re: Php-mssql connection problems on Windows XP

2008-04-24 Thread Sebastian Mendel
Padiyath Sreekumaran schrieb: I got the following error when I execute the previous script: Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '$username'., SQL state 28000 in SQLConnect in C:\xampplite\htdocs\scri

Php-mssql connection problems on Windows XP

2008-04-24 Thread Padiyath Sreekumaran
Hello, I can connect to a SQL server in the following way from my windows OS machine: Start --> control Panel --> Administrative tools ---> Data Sources(ODBC) and provide the necessary input. This works for me without problems. I have installed xamp sw on this window machine. The SW version is