Reputation: 21194
I am using RadPhp to build a PHP application. I want to display several independent lines of text in an Edit control (using $this->edit->text property ) but it seems to be impossible. If I use \n it just displays it instead of braking this line in two.
PS: can anybody add 'RadPHP' as tag for this question?
Upvotes: 1
Views: 687
Reputation: 829
For multiline text editing look at Memo component and Lines property
Upvotes: 1
Reputation: 8966
Also don't know RadPHP as well but does it use nl2br
or something similar to that and you forgot to insert it?
Upvotes: 0
Reputation: 91816
I have no experience on RadPHP, but instead of \n
character, try using <br/>
to break your lines into two.
Upvotes: 1