squirleegirl
Programmer
Hi!
I've got a section that the user needs to leave comments in. Everything works fine as long as the user doesn't use an apostrophe in their comments. This causes a syntax error in the update statement.
My code is simple - request the information from the form into a variable and use that variable in my update query (or insert).
Like I said, works fine if there are no apostrophes. Does anyone know how to work around this?
Thanks in advance,
Squirleegirl
I've got a section that the user needs to leave comments in. Everything works fine as long as the user doesn't use an apostrophe in their comments. This causes a syntax error in the update statement.
My code is simple - request the information from the form into a variable and use that variable in my update query (or insert).
Like I said, works fine if there are no apostrophes. Does anyone know how to work around this?
Thanks in advance,
Squirleegirl