iceblox Posted May 24, 2008 Share Posted May 24, 2008 Hi Guys, I Have a script for uploading csv files it replaces certain data that i tell it too. Which is all fine however I have come across something that i need to replace that contains a " so it isnt working in the script. This is the code. "32" LCD HD TV" => "132" i have tried \" \" and changing the " for ' but i still cant get it to work. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/107057-replace-script/ Share on other sites More sharing options...
wildteen88 Posted May 24, 2008 Share Posted May 24, 2008 Helps if you post the code and provide a helpful description of what you're trying to do too. Quote Link to comment https://forums.phpfreaks.com/topic/107057-replace-script/#findComment-548824 Share on other sites More sharing options...
iceblox Posted May 24, 2008 Author Share Posted May 24, 2008 $arr = array("32" LCD HD TV" => "1"); Sorry, basically 32" LCD HD TV represent some data in the csv feed which im gonna replace to 1, that whole script works but its having issues as there is a " in the row.. Im not sure how to get it to work Quote Link to comment https://forums.phpfreaks.com/topic/107057-replace-script/#findComment-548848 Share on other sites More sharing options...
wildteen88 Posted May 24, 2008 Share Posted May 24, 2008 If you post your current code we maybe able to help you. Quote Link to comment https://forums.phpfreaks.com/topic/107057-replace-script/#findComment-548873 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.