I am trying to convert curl output to XML for further processing like inserting into a database and showing it in the front end.
$txResult = curl_exec( $ch );
echo $txResult;
curl_close( $ch );
Output:
id=0&tId=10010&msgId=32&mText=Duplicate+record+%2D+This+recordhas+already+been+approved
I tried using this but doesn't work.
simplexml_load_string(curl_exec($ch));