Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo $form->dropDownList($model,'category_id', array(CHtml::listData(Categories::model()->findAll(), 'id', 'title'), array(CHtml::listData(Categories::model()->findAll(), 'id', 'title'))), array('empty'=>'Επιλέξτε Κατηγορία')); ?>
Add Comment
Please, Sign In to add comment