Re: work with relationships in controller and view

2006-07-14 Thread John Zimmerman [gmail]
http://manual.cakephp.org/chapter/22Reviewing the conventions will help you out a lot here.  Cake will then be able to do a lot of the work for you.After reviewing conventions take a look at the chapters on Models.
Basically your tables should be 'areas_events'area_idevent_id'events'idname'areas'idnameAfter reviewing models and conventions and using the above as a general guideline you should be on your way to making things work.
HTHOn 7/14/06, Kenia <[EMAIL PROTECTED]> wrote:
hi...i have tables:events_areasid_areaid_eventareasid_areanameeventsid_eventnamei need to put in the view add of Event the multiple select with the
existing areas.how I make this? thanks... and sorry my english is terrible

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


work with relationships in controller and view

2006-07-14 Thread Kenia

hi...

i have tables:

events_areas
id_area
id_event

areas
id_area
name

events
id_event
name


i need to put in the view add of Event the multiple select with the
existing areas.

how I make this? thanks... and sorry my english is terrible


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