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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -