链接图像与锚函数在codeigniter


link image with anchor function in codeigniter

我已经试过了

 <?php anchor('company/ourpartners',img(array('src'=>'/Images/OurPartnersLink.png','border'=>'0','alt'=>'testing image')),array('class'=>'imglink')); ?>

但是会抛出以下错误

致命错误:调用未定义的函数img()/home/xxxx/public_html/application/views/homepage/index.php上线160

任何想法?

anchorimg在两个不同的帮助程序中。你有包括html助手吗?