I have two models: employee and taskassign.
In employee I have a link "task assign" in which I pass $employee
['Employee']['id'] to the taskassigns/add..
and in "add function" of tasks_controller we should get the value of
$employee['Employee']['id'].and this value should be passed to the
foreign key employee_id of task_assigns..how can I attain that..I'm a
newbie in cakephp..plz help me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
Tuesday, November 25, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment