jnoempire Posted July 17, 2006 Share Posted July 17, 2006 Hi i have some text in a database and i need to replace the double quotes with nothing when i pull them out.e.g needfrm db..hello "my name " is Johnwhen i write to screen change tohello my name is Johnim trying to use$notes = str_replace("\"\"","",$notes);but for the love of god i cant seem to get it to worksorry if this have been answered b4 ive really looked Quote Link to comment https://forums.phpfreaks.com/topic/14870-php-double-quotes-help/ Share on other sites More sharing options...
wildteen88 Posted July 17, 2006 Share Posted July 17, 2006 Try this:[code=php:0]$notes = str_replace('"', '', $notes);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/14870-php-double-quotes-help/#findComment-59553 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.