How to add anchor to a link url??

Hi all,

Im having problem adding anchor id/name to an url.

suppose i have a url,


socialicard/biz/profile/index/id/

I want to add "#overview" to this link to make it look like this


socialicard/biz/profile/index/id/#overview

to link to this page with anchor name "overview",


<a name="overview">Overview</a>

my code is like this,




      CHtml::link('More',

			array(

				'/biz/profile/index', 

				'id'=>$_GET['id'],

			),

			array(

				'class'=>'more',

			)		

		); 



Thankx in advance …

Really appreciate your help …

Yes, that’s a tricky one… You need to set the “#”-property:




array(

  '/biz/profile/index',

  'id'=>$_GET['id'],

  '#'=>'overview',

),



Thanx …

thank u very much …