Lookup

Im using Yii Lookup: www.ghazalitajuddin.com/general/yii-lookup/


<div class="row">

		<?php echo $form->labelEx($model,'eyecolor'); ?>

		<?php echo $form->dropDownList($model,'eyecolor',Lookup::items('eyecolor')); ?>

		<?php echo $form->error($model,'eyecolor'); ?>

	</div>

Results is Eyecolor 2 - Why not show Green, Blue or Gray?

What are the contents of your Lookup table? ???

Please post here the contents of your Lookup table

Oooops, sorry for asking the same question buddy, I didn’t see your post when I submitted mine :)