[/size]
No dear, Its neither bug nor code problem.
When you use different id it show in [color="#1C2837"][size=“2”]$_POST[‘xyz’] parameter because it will print [/size][/color][color="#1C2837"][size=“2”]$_POST[‘xyz’] using element name.[/size][/color]
[color="#1C2837"][size="2"]So, if you use below code it will work fine,[/size][/color]
[size="2"][color="#1c2837"]
[/color][/size] [size="2"][color="#1c2837"]
<?php echo $form->textArea($model,'message',array('rows'=>6, 'cols'=>56, 'id'=>'abcd')); ?>
[/color][/size]
[size=“2”][color="#1c2837"]When you use below code it will take message field as abcd and the element will not show in array [/color][/size][color="#1C2837"][size=“2”]$_POST[‘xyz’],[/size][/color]
[size="2"][color="#1c2837"]
[/color][/size] [size="2"][color="#1c2837"]
<?php echo $form->textArea($model,'message',array('rows'=>6, 'cols'=>56, 'name'=>'abcd')); ?>
[/color][/size]
[size=“2”][color="#1c2837"]When you use below code as i replace message field with name=‘message’ it will work fine and will show in array[/color][/size] [color="#1C2837"][size=“2”]$_POST[‘xyz’],[/size][/color]
[size="2"][color="#1c2837"]
<?php echo $form->textArea($model,'message',array('rows'=>6, 'cols'=>56, 'name'=>'message')); ?>
[/color][/size]