Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dsn = 'Mindwise';
- $username = 'user';
- $password = 'password';
- $dbh = mssql_connect($dsn,$username,$password);
- if (!$dbh) {
- echo "Could not connect to database.<br />\n";
- }
- This always says it can't connect to the database... what am I doing wrong? Mindwise is the ODBC database connection... I've also tried the server address instead of the ODBC entry.
Add Comment
Please, Sign In to add comment