سؤال

I want to make a yii program to add some name to my database at once. so I need an input field that can get multi line/ multi row. so I can input some name, and then input to databases. how can I do that? how can I make text field (this is default field from yii) to get multi line input string? or do i need to use other than text field?

هل كانت مفيدة؟

المحلول

It is called textarea, after the appropriate HTML tag.

CActiveForm::textArea()

CHtml::textArea()

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top