schme16 Posted April 2, 2007 Share Posted April 2, 2007 Every time I put a ' or " in a form and tell php to print it every time the user hits the send button, it escapes them...is there a way to make it stop that as its really annoying me and the teacher that i'm doing this for. Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/45245-solved-how-to-get-rid-of-slashes-in-forms/ Share on other sites More sharing options...
papaface Posted April 2, 2007 Share Posted April 2, 2007 stripslashes($string); Link to comment https://forums.phpfreaks.com/topic/45245-solved-how-to-get-rid-of-slashes-in-forms/#findComment-219673 Share on other sites More sharing options...
MadTechie Posted April 2, 2007 Share Posted April 2, 2007 post some code also use /" for printing quotes and stripslashes to remove them Link to comment https://forums.phpfreaks.com/topic/45245-solved-how-to-get-rid-of-slashes-in-forms/#findComment-219674 Share on other sites More sharing options...
papaface Posted April 2, 2007 Share Posted April 2, 2007 also use /" for printing quotes and stripslashes to remove them You mean \" Link to comment https://forums.phpfreaks.com/topic/45245-solved-how-to-get-rid-of-slashes-in-forms/#findComment-219685 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.