pcw Posted April 10, 2009 Share Posted April 10, 2009 Hi, I have the following that strips slashes from a submitted entry, but I also need it to remove the " quotes. $file1 = stripslashes($_POST['file1']); Is this possible? Thanks Link to comment https://forums.phpfreaks.com/topic/153551-solved-strip-quotes/ Share on other sites More sharing options...
jackpf Posted April 10, 2009 Share Posted April 10, 2009 string = str_replace('"', '', $string); Link to comment https://forums.phpfreaks.com/topic/153551-solved-strip-quotes/#findComment-806841 Share on other sites More sharing options...
pcw Posted April 10, 2009 Author Share Posted April 10, 2009 Thanks Jack Link to comment https://forums.phpfreaks.com/topic/153551-solved-strip-quotes/#findComment-806854 Share on other sites More sharing options...
jackpf Posted April 10, 2009 Share Posted April 10, 2009 No problem. Link to comment https://forums.phpfreaks.com/topic/153551-solved-strip-quotes/#findComment-806857 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.