请教$result = TeacherModel::update($data,$condition);
弹下弹下
弹下弹下 2018-10-13 19:57:16
0
1
1290

Hello teacher! In $result = TeacherModel::update($data,$condition);, $data updates all the information passed by the form by default, but if a certain field in $data wants to update the specified value, but the others are submitted as is Should I write it like this? $result = TeacherModel::update($data('user_name - > "Little Donkey"'),$condition);

弹下弹下
弹下弹下

reply all(1)
弹下弹下

Thank you, teacher. It was mainly because my brain was short-circuited. I have found a way. Thank you!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template