I am creating a website with classic ASP on the backend. The form on the frontend submits to the Classic ASP page on the backend just fine. I am also able to connect to the database just fine. (I have tested both of these.)
The problem occurs when I try and add the form inputs into the database table. (form method is POST).
Here is what I am trying to do -
conn.Execute "insert into table1(firstn, lastn, dato, scene) values (fn, ln, sd, sce)"
table1 exists with firstn, lastn, dato, and scene as its columns. conn and the fn, sd, ln, sd, and sce variables have been declared and initialized correctly.
However, I am still getting an "Invalid column name fn" error. Why is that?
How can I fix this error?