MVC Beginner here - I have created a database with a USER table which 
hasMany EVENTS, and conversely have set the EVENTS belongsTo USER

Here's my question: When I want to add an event from a user page 
(users/view), how do I automatically associate that event(event/add) with 
the user in the database? I know that it makes the foreign key connection 
with a user_id field in the events table, but I don't know how to get to 
the event/add page and carry/apply the user id to the form helper. Am I 
making any sense here?

Thanks in advance.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to