On Dec 22, 3:54 pm, clemos <[EMAIL PROTECTED]> wrote:
and if it's not about drop down, you can of course get the name of the
Type of your Event in your views like this:
($data is for exemple what Event->find() returns)
<? echo $data['Type']['name'] ?>

This worked great thanks, but tried putting it into a list of the
events using foreach (bake generated 'index' view) and it just listed
all the different types instead of the one relating to each record, I
can see why it happened but not sure how to do it to show each records
'type'!!

thanks
Duncan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to