php - link image with anchor function in codeigniter -
i tried
<?php anchor('company/ourpartners',img(array('src'=>'/images/ourpartnerslink.png','border'=>'0','alt'=>'testing image')),array('class'=>'imglink')); ?> but throws following error
fatal error: call undefined function img() in /home/xxxx/public_html/application/views/homepage/index.php on line 160
any ideas?
anchor , img in 2 different helpers. have included html helper?
Comments
Post a Comment