I'm building an application with CakePHP on which you can fill in surveys. The problem i came up with is the following:
I have two tables:
Surveys / SurveysUsers (HABTM)
When somebody fills in a survey a record will be made in SurveysUsers and when the Survey is accepted the survey shouldn't be visible anymore. So i want to select the surveys from the surveys table which don't have a record in the SurveysUsers table.
Hope u all can help me!
Thanks
Dwayne