I used
<?php echo CHtml::link($comment['link_text'],CHtml::normalizeUrl($comment['link_url'])); ?>
but the url is related with my site.
For the url is http://yiiframework.com and the created url is http://mysite/mycont...iiframework.com
Posted 02 August 2010 - 03:25 PM
<?php echo CHtml::link($comment['link_text'],CHtml::normalizeUrl($comment['link_url'])); ?>
Posted 02 August 2010 - 03:59 PM
<a href="<?php echo CHtml::normalizeUrl('/') . $comment['link_url']; ?>"><?php echo $comment['link_text']; ?></a>
Posted 31 October 2010 - 06:41 PM
dimis283, on 02 August 2010 - 04:10 PM, said:
Posted 20 March 2013 - 05:21 AM