<!--#include file="DSNConnection.asp"-->
<%
prefix = request.form("prefix"
i need to update a single record
i have tried this but it comes back with the error to few parameters expected 1
------code------
<%
webctid = request.form("webctid"
password = request.form("password"
authorisedby = request.form("authorisedby"
sqlStr = "UPDATE tblusers SET "
sqlStr = sqlStr & "user_id_prefix = '" & prefix & " ',"
sqlStr = sqlStr & "sugg_pass = '" & password & "'"
sqlStr = sqlStr & " WHERE id = 3 "
response.write sqlStr
dbConn.execute(sqlStr)
%>
can anyone help?
your request hase been completed
<%
prefix = request.form("prefix"
i need to update a single record
i have tried this but it comes back with the error to few parameters expected 1
------code------
<%
webctid = request.form("webctid"
password = request.form("password"
authorisedby = request.form("authorisedby"
sqlStr = "UPDATE tblusers SET "
sqlStr = sqlStr & "user_id_prefix = '" & prefix & " ',"
sqlStr = sqlStr & "sugg_pass = '" & password & "'"
sqlStr = sqlStr & " WHERE id = 3 "
response.write sqlStr
dbConn.execute(sqlStr)
%>
can anyone help?
your request hase been completed