tobeyt23 Posted December 13, 2010 Share Posted December 13, 2010 I have a controller called users and have a form within that form I have fields for model companies. For the life of me I can't get the company info to save. If I use companies and then the users info does not save. What is the correct way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/221465-cake-model-help/ Share on other sites More sharing options...
tobeyt23 Posted December 13, 2010 Author Share Posted December 13, 2010 i just needed to do var $uses = array('User', 'Companies'); Quote Link to comment https://forums.phpfreaks.com/topic/221465-cake-model-help/#findComment-1146856 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.