PHP automaticly parses my string?
- by PlagueEditor
Some Background info: My web application stores some XML in a Text column of the MySQL database. This XML represents a transaction for the application.
The problem occurs when I'm testing my library. Within PHP, I have a string:
$s="<flist><transaction amount=\"10\" type=\"income\">Initial Amount</transaction></flist>";
However, whenever I echo or consecrate this string, it turns into "Initial Amount". Am I missing a feature of PHP? How can I fix this? Wow! As I'm creating this post, StackOverflow is transforming that XML into $s=Initial Amount as well... Please help... Thank-you for your time as this completely perplexes me.