$model_m=$this->loadModel($row['id']);
$model_m->attributes=$post_m;
$model_m->save();
我的代码是这样的,遇到奇怪的问题:$post_m赋值不到$model_m->attributes里面 不知道为什么. 请大家帮帮忙?是那边出问题了
$model_m=$this->loadModel($row['id']);
$model_m->attributes=$post_m;
$model_m->save();
我的代码是这样的,遇到奇怪的问题:$post_m赋值不到$model_m->attributes里面 不知道为什么. 请大家帮帮忙?是那边出问题了
Dear, there is this forum for posts in Chinese.
If you want to post here, please post in English so more people can help you.