Re: Inserting different data into each row using Hash (or some other way to do what I need!) [CakePHP 2.7.X]

2015-10-12 Thread MarkB
And that is exactly the information I needed - I WAS going about it the wrong way, and that 'multiple relations' link you provided set me straight. Definitely a case of RTFM, though I think I had looked at that very early on in the learning process and not got my head round it. Whereas now it

Re: Inserting different data into each row using Hash (or some other way to do what I need!) [CakePHP 2.7.X]

2015-10-12 Thread John Andersen
You are welcome MarkB And thank you for reporting back :) John On Monday, 12 October 2015 17:49:43 UTC+3, MarkB wrote: > > And that is exactly the information I needed - I WAS going about it the > wrong way, and that 'multiple relations' link you provided set me straight. > Definitely a case

Re: Inserting different data into each row using Hash (or some other way to do what I need!) [CakePHP 2.7.X]

2015-10-06 Thread John Andersen
You have not provided any information on how the Request and User are related in your models. Request belongsTo Provider(User) Request belongsTo School(User) Provider(User) hasMany Request School(User) hasMany Request Those two relationships can be defined in the models. Have you done so? See

Inserting different data into each row using Hash (or some other way to do what I need!) [CakePHP 2.7.X]

2015-10-06 Thread MarkB
Hi, Over the past year I have built a very unwieldy complex event management system for an education science festival as my first CakePHP project but I am having trouble getting my head around what is probably a very basic CakePHP problem. I may even be going about this completely the wrong