I'm getting this:
Warning: SQL error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
When I try to connect to SQL Server. Here's the code:
$ConnectionString = "Provider=SQLOLEDB\x3B Data Source={$Server}\x3B Initial Catalog={$DBName}\x3B User ID={$Username}\x3B Password={$Password}\x3B";
$Connection = odbc_connect($ConnectionString, "", "") or die("Unable to connect to database");
Does anyone have ANY idea what's causing this? 😕