Dolorian wrote:
> Then I make a record for the season :
>
> $this->Season->save($countries_data)
>
this is wrong. I mean:
$this->Season->save($this->params['form']['Season'])
--~--~-~--~~~---~--~~
You received
Have tried many different wayes, but with no success. I can't think out
how to populate a join table which has more than two fields.
In the index controller I 'm using the following:
$this->set('langs', $this->Lang->findAll());
In the form:
.. input fields for the seasons table ...
$html->inp
Thanks for the answer.
I have two questions on it:
1. I need to add an array item in Langs for every table that use langs,
right ?
2. 'seasons_langs' has a third filed 'info', which actually holds the
specific language information (for the other tables there could be more
such fields). How am I s
Hello !
I'm in a dilemma.
I have the following tables:
CREATE TABLE `langs` (
`lang_id` tinyint(3) auto_increment,
`abrev` varchar(32),
`name` varchar(32),
PRIMARY KEY (`lang_id`)
)
CREATE TABLE `seasons` (
`season_id` smallint(5) auto_increment,
`year` varchar(16),
`begin_date`