开发者

Appending to posted data in CakePHP

If I have posted to controller with data and save that data with开发者_开发技巧...

$this->Flo->save($this->data)

Is there a way for me to insert a name/value pair into that data object before I run the save?


Do you mean something like this?

$this->data['Flo']['name'] = $value;
$this->Flo->save($this->data);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜