i am using many models on the same controller. i have to save the data to the
db. 

this is the view.

http://pastebin.com/mbbb68f

as u can see am using many models like [B]Rating[/B], [B]Timing[/B]
[B]Review[/B] etc. This is just a small part of the form. 

In the controller i have added a add() method like this. which is kinda
crooked code :(  is there a better way of saving these ?

http://pastebin.com/d9d90df3
-- 
View this message in context: 
http://www.nabble.com/Saving-data-when-many-models-are-in-use.-tp25351290p25351290.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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