hi..I am wanted to use the anchor() tag which is one of the url helper in codeigniter for the div.

Below is the code which i want to convert into the codeigniter form :

<a href="events/page/<?php echo $id; ?>">
   <div class="title_row" id="<?php echo $id; ?>">
       <div class="content" >
         <div class="data">
       </div>
       </div><!--content ends here-->
       <input type="hidden" value="<?php echo $id; ?>" class="datahtml"/>
   </div><!--title row ends here-->
</a>

the question again is how could i change the normal <a href=""> into the codeigniter anchor() form?


please help, my search on google returns no results :(

Thank You :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.