Yii Framework Forum: chapter 9 page 222 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

chapter 9 page 222 n12br

#1 User is offline   caramelon 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 35
  • Joined: 19-January 11
  • Location:Neandertal

Posted 17 March 2011 - 05:22 PM

Hi,

first line on page 222 says:

<?php echo n12br(CHtml::encode($comment->content)); ?>


Could anybody tell me what this n12br is, please?

Thank you.
0

#2 User is offline   jefftulsa 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 168
  • Joined: 06-October 08
  • Location:Austin, TX

Posted 17 March 2011 - 06:28 PM

http://php.net/manua...ction.nl2br.php
0

#3 User is offline   caramelon 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 35
  • Joined: 19-January 11
  • Location:Neandertal

Posted 18 March 2011 - 02:41 PM

Oh! shame on me.

Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users