Welcome Guest, Not a member yet? Register   Sign In
Linking Question
#1

[eluser]JPrieto[/eluser]
Hi everyone!

I need to know how to code this in CI:
Code:
<a href='customer.php'><img src='cust.jpg'></a>

from what I understood in the user guide, it is:

Code:
echo link_tag('customer.php'); echo img('cust.jpg');

is this right?

what about the </a> at the end?

im so confused

please help
thanks

ps: the user guide does not mention what to do about the </a>, nor how to link using an image.


Messages In This Thread
Linking Question - by El Forum - 07-19-2011, 12:06 AM
Linking Question - by El Forum - 07-19-2011, 01:22 AM
Linking Question - by El Forum - 07-19-2011, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB