Operation must use an updateable query

admin

Administrator
Staff member
Hello!

For some reason, running this script, I get the error message:

Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect


$conn = odbc_connect( 'database', '', '' );

$query = "INSERT INTO table (field1, field2, field3) VALUES ('$field1','$field2','$field3')";

odbc_exec($conn,$query);

I've made scripts like this a thousand times before. What is wrong???
 
Back
Top