comment, array('rows'=>6, 'cols'=>50)); ?>
50, 'rows'=>10)); ?>In this example, the 'description' parameter is used to specify the name attribute of the text area field. The second parameter is an empty string, which sets the initial value of the field to nothing. The third parameter is an array, which sets the number of columns to 50 and the number of rows to 10. In conclusion, CHtml textArea is a package library of the Yii framework and it is used to create multi-line text fields in HTML forms. It is a useful tool for creating forms that require users to input a lengthy description or a detailed comment.