Padiyath Sreekumaran schrieb:
<?php
$dsn="asi_qms";
$username="asi_qms_2006";
$password="something";
$server="xxx";
if(!$handle = odbc_connect($dsn, '$username', '$password')) die('Keine 
Verbindung möglich!');
?>

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\script.php on line 6
Keine Verbindung möglich!

What is Iam missing? Any help is appreciated.
Please send a copy of the answer in my personal E-mail address also.

$username instead of '$username'
same for '$password'


but what has this to do with MySQL???


--
Sebastian Mendel

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to