我已经试过了
<?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
任何想法?
anchor
和img
在两个不同的帮助程序中。你有包括html
助手吗?