Jump to content

ODBC error code


austine_power007

Recommended Posts

Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect in c:\inetpub\wwwroot\flash\login.php on line 11
Wrong data


what is the meaning of this message? please help me my line 11 is:

$query = odbc_exec($odbc, "SELECT * FROM login WHERE dev_name = $name and pass = $password ") or die ("Wrong data");
Link to comment
https://forums.phpfreaks.com/topic/28219-odbc-error-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.