How do you escape an apostrophe in a text string?<br>
<br>
For example, using:<br>
String = "Can't escape apostophe".<br>
<br>
When update/inserting a record with the above string in the field being updated, it errors.<br>
<br>
I've tried replacing the one apostrophe with 2 apostrophes ala Oracle. and I've tried using the MySQL escape character "\" such that " ' " was replaced with " \' ". Neither escape sequence worked. <br>
<br>
What now?<br>
Ed
<br>
For example, using:<br>
String = "Can't escape apostophe".<br>
<br>
When update/inserting a record with the above string in the field being updated, it errors.<br>
<br>
I've tried replacing the one apostrophe with 2 apostrophes ala Oracle. and I've tried using the MySQL escape character "\" such that " ' " was replaced with " \' ". Neither escape sequence worked. <br>
<br>
What now?<br>
Ed