We are having trouble getting text into our SQL table for fields with quotes in the text. In the ASP example below, we have an array called names that has the field names in it. When the text from the web form contains quotes, the data that is written into the SQL field ends when the first quote is found. We have to be able to accept either single or double quotes in the text.
names = array("FirstName", "MI", "etc"
szName = names(0)
szValues = "'" + Request.Form(names(0)) + "'"
We are still learning ASP, but this is very frustrating!!!
Jeff and Linea
names = array("FirstName", "MI", "etc"
szName = names(0)
szValues = "'" + Request.Form(names(0)) + "'"
We are still learning ASP, but this is very frustrating!!!
Jeff and Linea