<![CDATA[ MODx Parse Error due to single quote - My Forums]]> https://forums.modx.com/thread/?thread=80902 <![CDATA[Re: MODx Parse Error due to single quote]]> https://forums.modx.com/thread/80902/modx-parse-error-due-to-single-quote#dis-post-445901 goldsky Dec 06, 2012, 03:34 AM https://forums.modx.com/thread/80902/modx-parse-error-due-to-single-quote#dis-post-445901 <![CDATA[MODx Parse Error due to single quote]]> https://forums.modx.com/thread/80902/modx-parse-error-due-to-single-quote#dis-post-445630
If in the text there is a single quote ' everything is fine. However, if a single quote iss inside other quotes (e.g. "'" or `'`) a parse error on the page appears due to a mistake in SQL syntax... So, in this case single quotes are not escaped in the DB.

Any ideas?]]>
racoon Dec 04, 2012, 10:30 AM https://forums.modx.com/thread/80902/modx-parse-error-due-to-single-quote#dis-post-445630