【发布时间】:2014-11-10 12:35:36
【问题描述】:
我在 $this->request->data in a form post 中有以下内容:
Array
(
[Customer] => Array
(
[first_name] => Test
[last_name] => test
[dob] => Array
(
[month] => 11
[day] => 10
[year] => 2014
)
)
[Service] => Array
(
[Service] => 1
)
)
它还在连接表customers_services(模型CustomersService)中创建一条记录。
我想要做的是触摸连接表中创建的字段,但不确定如何。有什么想法吗?谢谢。
【问题讨论】:
标签: cakephp-2.0 has-and-belongs-to-many