I want to give multiple class in yii htmloptions for which I have written code such as follows.
<?php echo CHtml::textField(‘username’, $username, array(‘placeholder’ => ‘Username’,array(‘class’=>‘mr-20’))); ?>
<?php echo CHtml::submitButton(‘save’, $htmlOptions = array(‘class’ => ‘control_button’)); ?>
Where now i had only insert one class i.e. control button but now i want to add other class too…so how can i do it?same in Chtml::textField and Chtml::submitButton.
Thanks in advance.