title: how convert html tags into string in php
body: <p>i am trying convert  html tag into string in php. but output is does not display actual html tag , output display  hello world  thanks for watching, i want output as actual html tag , please help me to resolve this problem</p>
  
  <pre><code> &lt;?php
  $tag="&lt;movie service='craftsman-1.0'&gt;&lt;body&gt;&lt;stack&gt;&lt;sequence&gt;&lt;effect type='sliding' duration='5.0'&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Canyon_Chelly_Navajo.jpg'/&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Ha_long_bay.jpg'/&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Monument_Valley.jpg'/&gt;&lt;/effect&gt;&lt;effect type='none'&gt;&lt;video filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/footage.mov' audio='false'/&gt;&lt;/effect&gt;&lt;/sequence&gt;&lt;text type='zone' align='center,center'&gt;Hello World&lt;/text&gt;&lt;audio filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/george_woods_lucky_one.mp3' skip='5.0'/&gt;&lt;/stack&gt;&lt;text type='zone' align='center,center'&gt; Thanks for watching!&lt;/text&gt;&lt;/body&gt;&lt;/movie&gt;";
  
  
  echo $tag;
  ?&gt;
  </code></pre>
  
  <p>i want output like this</p>
  
  <pre><code>&lt;movie service='craftsman-1.0'&gt;&lt;body&gt;&lt;stack&gt;&lt;sequence&gt;&lt;effect type='sliding' duration='5.0'&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Canyon_Chelly_Navajo.jpg'/&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Ha_long_bay.jpg'/&gt;&lt;image filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/Monument_Valley.jpg'/&gt;&lt;/effect&gt;&lt;effect type='none'&gt;&lt;video filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/footage.mov' audio='false'/&gt;&lt;/effect&gt;&lt;/sequence&gt;&lt;text type='zone' align='center,center'&gt;Hello World&lt;/text&gt;&lt;audio filename='http://s3.amazonaws.com/stupeflix-assets/apiusecase/george_woods_lucky_one.mp3' skip='5.0'/&gt;&lt;/stack&gt;&lt;text type='zone' align='center,center'&gt; Thanks for watching!&lt;/text&gt;&lt;/body&gt;&lt;/movie&gt;
  </code></pre>
  
  <p>but output display like this</p>
  
  <pre><code> hello world  thanks for watching
  </code></pre>