My instinctive approach was to use placeholders.
And that's the only correct approach.
Doing this in a simple regex seems to work
So, do it, and then pass the result to ->execute to bind to a placeholder.
In reply to Re: Line separators when passing multi-line fields to a database
by moritz
in thread Line separators when passing multi-line fields to a database
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |