I'm trying to update my database. Look at this simple example.
<%
wonid_user = Session("username"
Uppdatera = "SELECT * FROM users WHERE username = "I want to know what to write here in order to get the value from wonid_user"
I get this error message when I use the code above:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
If I use this line
Uppdatera = "SELECT * FROM users WHERE username = 'my_username' "
it works just fine.. but then the username is not dymanic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.