문제

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