@NogDogFeb 15.2006 — #Where do you save the text: in a file or in a database? If in a database, then the slashes should be left in so as to help prevent database injection attacks (besides the fact that it will allow your query to work correctly in the first place). When you retrieve the data from the DB and want to display it in the browser, at that point use stripslashes() to remove them.
@NogDogFeb 15.2006 — #To maximize the portability of your code (so that it works whether or not "magic quotes" are turned on), use the following to strip slashes only when needed. [code=php] if(get_magic_quotes_gpc()) { $text = stripslashes($text); } [/code]