I have two model
Participant
Student
Student table has participantid foreign key references participant table Id.how to write a view and controller to save student
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Did you follow CakePHP naming combentions? http://cakebaker.42dh.com/2006/02/18/cakephp-conventions/
Yo need to follow them form getting CakePHP magic. You said you have a participationid instead of participations_id … the participant table should be name participants …