named anchor and CI's anchor()

#1
[eluser]searain[/eluser]
Such as

<a name="label">Any content</a>

Could I use CI's anchor() to set up a named anchor? How CI's clean url refer to named anchor? Like http://www.mysite.com/welcome/#mynamedanchor?

#2
[eluser]pistolPete[/eluser]
Read the user guide: http://ellislab.com/codeigniter/user-gui...elper.html
Code:
echo anchor('controller/function', 'name="label"');

#3
[eluser]fRkSsK[/eluser]
Code:
echo anchor('','Any content',array('name'=>'label'));


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.