By rajiv.singh on
1) Pass an empty string as the path.
2) Set external to 'true' (this removes the preceding slash).
3) pass ' ' (a space) as the fragment .
Example :
l(t('My Example Link'), '', array('external' => TRUE, 'fragment' => ' '));
Comments
Doesn't know if its a
Doesn't know if its a question but here tahts like i would do it :D
Output :
My Anchor Link