Form Submission Problem I've a form...

function modulename_myform($form, &amp;$form_state)
{
        $form['my_ta'] = array(
            '#type' =&gt; 'textarea',
            '#resizable' =&gt; FALSE,
        );
        $form['my_submit'] = array(
            '#type' =&gt; 'submit',
            '#input' =&gt; TRUE,
            '#value' =&gt; 'Submit',
            '#name' =&gt; 'sub_1',
            '#button_type' =&gt; 'submit',
        );
        return $form;
}


My form couldn't submit any data... So I tried doing two variants...

/* Form Submit */
function modulename_myform_submit($form, &amp;$form_state)
{
    drupal_set_message('Submitted Value @name',array('@name'=&gt;$form_state['values']['my_ta']));
}


Output : Doesn't print anything and says value is null at that location...

/* Form Submit */
function modulename_myform_submit($form, &amp;$form_state)
{
    drupal_set_message(t('Submitting values: @values', array('@values' =&gt; var_export($form_state['values']['my_ta'], TRUE))));
}


Output : Prints the Dump with proper values...

Why is that? It should be giving me the text entered in my_ta right? Please help me...
the first attempt doesn't contain t() function in set message function... hence it's failing...