quote:
Originally posted by Ezra
But when I show this on a page things with a ' in them show like this: \'things\'
Oh, sorry... the addslashes() function should always be used on user-inputted data before it's placed in a query, just in case your copy of PHP isn't configured to add slashes automatically. I guess they are added automatically for you. What you could do is change that line of code above to...
if(!get_magic_quotes_gpc()) $_POST['inhoud'] = addslashes($_POST['inhoud']);
Then you won't need stripslashes.