Single Quotes in CGI
April 7, 2006 12:00 AM
You can also use:theVariable = replace(theVariable, "'", "''")Having two quote characters together is the way it is delimited in SQL. It will be stored in the DB as a single quote.
Discussions have been disabled for this post