I have text in a text box that gets sent with MySQL to a database. How can I use PHP to change around any apostraphes in the text before it gets sent to the database?
Thanks in advance.
Have a look at the set_magic_quotes_runtime() function.