graham23s Posted August 7, 2007 Share Posted August 7, 2007 Hi Guys, when i type a form and sent it in php text like: The site hasn't gets displayed as: The site hasn\'t i know this does line breaks $message = nl2br($_POST['message']); but is it add or stripslashes for my problem above? thanks guys Graham Quote Link to comment https://forums.phpfreaks.com/topic/63761-slashes-in-messages/ Share on other sites More sharing options...
Hybride Posted August 7, 2007 Share Posted August 7, 2007 Stripslashes. Where you have the form variable, make it $message = stripslashes($message); and that should help. Quote Link to comment https://forums.phpfreaks.com/topic/63761-slashes-in-messages/#findComment-317791 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.