title: How do I make an image an anchor in CodeIgniter?
body: <p>I have read other threads on how to do this and they do not work for me. Can someone tell me how to make an image a anchor in CI?</p>
  
  <p>I have tried these:</p>
  
  <pre><code>&lt;li&gt;&lt;?php echo anchor("Home",img("../application/images/Home_up.png")); ?&gt;&lt;/li&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;li&gt;&lt;?php echo anchor("Home",img("src"=&gt;"../application/images/Home_up.png")); ?&gt;&lt;/li&gt;
  </code></pre>