hi i have a textarea that i whant to show with line return !! ive searshed ans found nl2br but whe i use here is what it show.here is the code
<b><?php echo CHtml::encode($data->getAttributeLabel('inscription') ); ?>:</b>
<?php echo CHtml::encode(nl2br($data->inscription)); ?>
<br />
and here is what it show:
ASPÉGIC 1000 : 1 sachet 2 à 3 fois par jour, selon l’intensité des douleurs (1 bte)<br /> ATHYMIL 10 mg : un comp. au coucher - Q.S.P. 1 mois<br /> CÉBÉMYXINE pommade ophtalmique : 1 application matin et soir au bord de la paupière inférieure.
can someone help me please !!