Looking to parse some XML data that is saved in a DB. In the DB its saved in raw XML:
<?xml version="1.0" encoding="utf-8"?>
  <RESPONSE>
    <SUCCESS>true</SUCCESS>
    <ERRORMESSAGE>
    </ERRORMESSAGE>
    <DATA>
    </DATA>
 </RESPONSE>
I want to be able to parse this data, and have found people normally using:
$xmlstr = <<<XML RAW XML XML;
But how can I use a php string in there?
So e.g.
$xmlstr = <<<XML $stringfromDB XML;
Of course that does not work, but how can it be done? Thanks.
