Welcome Guest, Not a member yet? Register   Sign In
Several html elements inside an anchor tag, with CI's anchor funtion
#2

[eluser]Bart Mebane[/eluser]
I haven't tried it, but you should be able to use any text you want, including html tags. How about
Code:
&lt;?php echo anchor('news/article', '<img src="picture.jpg" /><span>some text</span>') ?&gt;


Messages In This Thread
Several html elements inside an anchor tag, with CI's anchor funtion - by El Forum - 11-30-2010, 07:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB