hello
I am trying to put a link with tiny icon using following statement
<?php $imgprofilelink = Yii::app()->request->baseUrl . '/images/profile.gif' ?>
<?php echo CHtml::image($imgprofilelink, 'profile')
<?php echo CHtml::link('Profile',array('patientprofile/create')) ?>
but the problem is its output is in two lines. How to put it in a single line.
jonah
(Poppitypop)
2
<?php
$imgprofilelink = Yii::app()->request->baseUrl . ‘/images/profile.gif’;
echo CHtml::image($imgprofilelink, ‘profile’);
echo CHtml::link(‘Profile’,array(‘patientprofile/create’));
?>
thanks jonah some time i really do kiddish mistakes…