Welcome Guest, Not a member yet? Register   Sign In
How do I get a span *inside* an anchor using CI anchor ?
#2

[eluser]CroNiX[/eluser]
Why are you putting it in the 3rd parameter (the attributes) of anchor()? Just append it to the 2nd parameter, which is the text of the link.
Code:
echo anchor("welcome/cat/$topkey", $toplist['name'] . '<span></span>');


Messages In This Thread
How do I get a span *inside* an anchor using CI anchor ? - by El Forum - 04-10-2012, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB