I realize there are many ways to handle Apostrophes in sql statements. The
problem I'm having is comparing a string with an Apostrophe entered by the
operator against the field in the DB (ie Field: Customer Name against
entered name by operator which includes an apostrophe). The function I use
works well with the string (what it does is replaces the Apostrophe with two
Apostrophes thus allowing the sql statement to work). However, how can you
get a comparable function to handle the field in the Sql statement? I'm
using MySql.
problem I'm having is comparing a string with an Apostrophe entered by the
operator against the field in the DB (ie Field: Customer Name against
entered name by operator which includes an apostrophe). The function I use
works well with the string (what it does is replaces the Apostrophe with two
Apostrophes thus allowing the sql statement to work). However, how can you
get a comparable function to handle the field in the Sql statement? I'm
using MySql.
Comment