M
Michael Taouk
I am using the "odbc_exec" function in php to update data
in a Microsoft Access 97 database, as follows:
$sqlUpdate = 'UPDATE tblFactoryItems SET comments ="'.
$_POST['comment'] . '" WHERE ItemID=1';
odbc_exec($cnx, $sqlUpdate);
I get an error:
Warning: SQL error: [Microsoft][ODBC Microsoft Access 97
Driver] Too few parameters. Expected 1., SQL state 07001
in SQLExecDirect
Where can I get info about 'SQLExecDirect' so that I can
debug the code?
in a Microsoft Access 97 database, as follows:
$sqlUpdate = 'UPDATE tblFactoryItems SET comments ="'.
$_POST['comment'] . '" WHERE ItemID=1';
odbc_exec($cnx, $sqlUpdate);
I get an error:
Warning: SQL error: [Microsoft][ODBC Microsoft Access 97
Driver] Too few parameters. Expected 1., SQL state 07001
in SQLExecDirect
Where can I get info about 'SQLExecDirect' so that I can
debug the code?