Yii Framework Forum: Lookup - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Lookup Rate Topic: -----

#1 User is offline   howto 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 01-September 12

Posted 01 March 2013 - 03:30 PM

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?
0

#2 User is offline   emc 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 14-March 11

Posted 01 March 2013 - 08:26 PM

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

#3 User is offline   macinville 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 268
  • Joined: 25-October 10
  • Location:Marikina City, Philippines

Posted 01 March 2013 - 08:29 PM

Please post here the contents of your Lookup table
Tell your tail.
Don't be shy to upvote a post if it was able to help you
0

#4 User is offline   macinville 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 268
  • Joined: 25-October 10
  • Location:Marikina City, Philippines

Posted 01 March 2013 - 08:30 PM

View Postemc, on 01 March 2013 - 08:26 PM, said:

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

Oooops, sorry for asking the same question buddy, I didn't see your post when I submitted mine :)
Tell your tail.
Don't be shy to upvote a post if it was able to help you
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users