Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
HTML::anchor with image
sabah
February 2013
hiii
please i surch how to have an html::anchor with image???
helpp
kesali
February 2013
Html::anchor('linkofimage', H
tml::img('pathofimage')
);
Simple.
sabah
February 2013
thanks
kesali
;
I want to use an image on my link is actually on the folder asset / img I do not know the relative url of the image, I call the image from the folder views of fuelphp
Harro
February 2013
Html::anchor('linkofimage', Asset
::img('image')
);
will work fine too.
sabah
February 2013
thanks
Harro Verton
;
for your appropriate and rapid answer
kesali
February 2013
Html::anchor('linkofimage', Asset
::img('image')
);
I think
this will throw an error,
if image does not exist. correct me if i am wrong.
Harro
February 2013
Yes, it does.
Why would you want to create a link with an image that does not exist?
kesali
February 2013
ofcourse nobody wants a broken link
:)
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
February 2013
kesali
February 2013
sabah
February 2013