1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    5
    Vote Rating
    0
    sintax is on a distinguished road

      0  

    Default Multiple lines in the value of TextArea?

    Multiple lines in the value of TextArea?


    Hi,

    I have the following problem:
    I have a FormPanel with a textarea inside. The "value" of the textarea is taken from a PHP variable with is echoed into the value. If the variable is a single line without any special chars, like enter, ' or " it works perfectly. Whenever the user enters an extra line the form never shows up.

    Here is a snippet:
    Code:
    items: [{
                        xtype: 'textarea',
                        fieldLabel: 'Area content',
                        name: 'cpg_area_content,
                        width: '500',
                        height: '300',
                        value: '<?=$cpg_area_content?>'
                    }]
    How can I get the value to come from the PHP variable? I must be missing something here.

    Thanks.

  2. #2
    Ext User
    Join Date
    Jun 2007
    Posts
    2
    Vote Rating
    0
    gcppersonal is on a distinguished road

      0  

    Default


    <?php echo str_replace("\\n", "<br>", $_GET['data']) ?>

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."