Windows 2000 problem?

admin

Administrator
Staff member
Hi,

I've moved some of my code from Windows NT4(SP6a) to Windows 2000(SP1) and now I'm getting the next errors, my code worked fine on my NT box.

code.
$db_query = "SELECT UserId, Name, Type, Active FROM UserInfo WHERE Account='$accountname'";
$db_result = odbc_exec($db_conn, $db_query);

error.
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 4., SQL state 07001 in SQLExecDirect in k:\stage\webpage\system_login.php on line 36


Anyone an idea? Thx
 
Back
Top