How do you set an image as an anchor? |
[eluser]learning_php[/eluser]
Hi, I have put in an images and i would like to use this as an anchor link how easy is it to do? Thanks
[eluser]michalsn[/eluser]
simplest solution: Code: anchor('controller/function', '<img src="someimage.png" />');
[eluser]Thorpe Obazee[/eluser]
Code: echo anchor('here/there', img('images/picture.jpg')); there's nothing to extend. it works as it is stated in the user_guide |
Welcome Guest, Not a member yet? Register Sign In |