amalosoul Posted September 27, 2006 Share Posted September 27, 2006 I have a string which contains \ symbol and I need to eliminate it, but every time I use $string=str_replace("\","",$string); php expects \\ and it issues an error!How can I solve this problem?Thank you very much! Link to comment https://forums.phpfreaks.com/topic/22298-trying-to-find-the-symbol/ Share on other sites More sharing options...
Fehnris Posted September 27, 2006 Share Posted September 27, 2006 Look into the function stripslashes()[url=http://us3.php.net/stripslashes]http://us3.php.net/stripslashes[/url] Link to comment https://forums.phpfreaks.com/topic/22298-trying-to-find-the-symbol/#findComment-99879 Share on other sites More sharing options...
amalosoul Posted September 27, 2006 Author Share Posted September 27, 2006 Thank you very much! Link to comment https://forums.phpfreaks.com/topic/22298-trying-to-find-the-symbol/#findComment-99886 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.