More than one field in Join Table for position

2007-06-06 Thread Tane Piper
Hey folks, Asking about it on IRC, and looking on the group I think I have half got my code working for what I need to to. A bit of background first: I have added a media player to my site, which is controlled from the backend and outputs to XSPF for the player. First off, I have my Track

Re: More than one field in Join Table for position

2007-06-06 Thread Tane Piper
I forgot to mention, I have worked out how to access some of the data, such as when I am adding a new playlist, how to access the tracks there: function admin_add() { if(!empty($this-data)) { $this-cleanUpFields();

Re: More than one field in Join Table for position

2007-06-06 Thread [EMAIL PROTECTED]
hi there, do you know if it is only 1.2 ? tia thomas On Jun 6, 5:54 pm, Tane Piper [EMAIL PROTECTED] wrote: Thanks to Gwoo and PHPNut, eventually solved it! It's the lovely 'with' key, which currently isn't in the manual. Here is it working: ?php class Track extends AppModel {

Re: More than one field in Join Table for position

2007-06-06 Thread Tane Piper
Yea, it is and unfortunatly it's not the end-all solutution to my problem. I still can't work out how to save the position field from my array. I'm going to work on it tonight and hopfully post a solution. On 6/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi there, do you know if it