Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User franzisk's Avatar
    Join Date
    May 2007
    Posts
    163
    Vote Rating
    0
    franzisk is on a distinguished road

      0  

    Question Issue setting value in TextArea

    Issue setting value in TextArea


    How can I put text with line-breaks in TextArea?
    It always says "unterminated string literal" and show the first part of the text before the first \n

    Let's say I have this in PHP:
    PHP Code:
    $text "Frist Line
    Second Line
    Third Line"

    Fhanks
    When you have a hammer everything looks like a nail

  2. #2
    Ext User
    Join Date
    Nov 2007
    Posts
    32
    Vote Rating
    0
    Phpex is on a distinguished road

      0  

    Default


    For future references Check out : http://extjs.com/forum/showthread.php?p=91563

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    Sasidhar.Gogula is on a distinguished road

      0  

    Default


    Replace the textarea value like follow:

    replace('\n','<br>')) this will add new line to the text

    Sasidhar

Thread Participants: 2