FlyingMonkey Posted July 22, 2004 Posted July 22, 2004 I am trying to escape any quotation marks in the actual fields by making them double. So, for example, product 12345 titled a sample product with a description of a "test" product, would look like this: "12345","a sample product","a ""test"" product" str_replace("\"", "\"\"", $des); //doesn't seem to work any help is appreciated. thank you. Most likely your question has been answered, please do a search first.
FlyingMonkey Posted July 22, 2004 Author Posted July 22, 2004 I am trying to escape any quotation marks in the actual fields by making them double. So, for example, product 12345 titled a sample product with a description of a "test" product, would look like this: "12345","a sample product","a ""test"" product" str_replace("\"", "\"\"", $des); //doesn't seem to work any help is appreciated. thank you. scratch that... the code actually works. excel just takes the quotations out.... =P Most likely your question has been answered, please do a search first.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.