how to replace the backslash in php to xml? -


i'm trying create xml file php.... not work properly... when eentered \notepad\text ,it creates in xml file otepad ext....

what's solution problem? can use function this?

when write way:

echo "\notepad\text"; 

\n interpreted newline , \t tab.

try single quotes:

echo '\notepad\text'; 

or escape backslash characters:

echo "\\notepad\\text"; 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -