Search code examples
phpcodeigniterhmvc

How to assign a value into the href of an anchor using HMVC


<a href="{seolink module='listings' method='view' data=$item}">{$item.output_name}</a>

Could anyone kindly explain what exactly happening there. I got that it is passing $item to the view method of a listings module and what is that seolink.

Kindly help me out.


Solution

  • If I were you I could have tried

    <a href = "<?php echo base_url();?>/module/function_name"></a>