Is there a way to "quote" an apostrophe or single quote for MS SQL when inserting a string with a single quote in it? Or some way to embed it as part of the string (for example, like url encoding)? I'm using PHP and Pear. I've tried doubling the single quote, and preceding it with a backslash; neither way works. Thanks in advance.