CHeighlund
Programmer
I'm working on a web form designed to put information into a database and display it at the same time. One of the fields is a textarea, and I'm running into a problem with it. If the text in the textarea includes an apostrophe, it goes into the database correctly, but displays on screen as the (\') set. How do I remove the extraneous \ character? I thought I could do this with preg_replace, but every attempt I've made so far has either done nothing, or thrown an error.