title: add html formatting to ajax call
body: <p>I have a typical ajax call like so: </p>
  
  <pre><code>$.ajax({
   method: "GET",
   url: "something.php?",
   data: data,
   success: function(data){
      //something//
  }
  });
  </code></pre>
  
  <p>There is nothing wrong with this code. Now, corresponding with this is my <code>something.php</code>, which is like so:</p>
  
  <pre><code>&lt;?php
    print("&lt;p&gt;Something&lt;/p&gt;");
  ?&gt;
  </code></pre>
  
  <p>My PHP subsequently returns <code>&lt;p&gt;Something&lt;/p&gt;</code>, p tags and all. I would like to know what I should be doing for the ajax response to return with html formatting so that it recognizes the p tags.</p>
  
  <p>EDIT: The problem here isn't about outputting random text. My <code>something.php</code> is meant to print data. Thus, it has to come from the PHP url route. I am having trouble understanding how to output html tags alongside php data. like <code>echo &lt;p&gt;$something&lt;/p&gt;</code> </p>
  
  <p>Currently, this would return precisely <code>&lt;p&gt;\\data here&lt;/p&gt;</code> with the p tags. </p>