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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -