title: PHP - How to echo a code as a text
body: <p>Now I got a query that contains HTML code and when I select it in php it makes the code,</p>
  
  <pre><code>$query = mysql_query("SELECT * FROM `table`")or die(mysql_error());
  while($arr = mysql_fetch_array($query)){
  $num = mysql_num_rows($query);
  $code = $arr ['code'];
  echo $code;
  }
  </code></pre>
  
  <p>and in that query there is this code <code>&lt;a href="http://google.com"&gt;Click Here&lt;/a&gt;</code></p>
  
  <p>when it echo it shows me Click Here, But I want it to sows me the code.</p>
  
  <p>So how can I do that in PHP. </p>
  
  <p>Thanks <br> Klaus</p>