Rumah >pembangunan bahagian belakang >tutorial php >The user cannot be altered by a client without the session.
public function edit_Q_zhanghaoguanli_info($id){
<code> if(isset($id) && !empty($id)){ $qiuzhi = new AVQuery("_User"); $qiuzhi = $qiuzhi -> get($id); $qiuzhi -> set('isTest',true); $qiuzhi -> save(); echo "<script>window.location='/manage/get_Q_zhanghaoguanli_info';</script>"; return; } } </code>
求救 这样写有错吗????
public function edit_Q_zhanghaoguanli_info($id){
<code> if(isset($id) && !empty($id)){ $qiuzhi = new AVQuery("_User"); $qiuzhi = $qiuzhi -> get($id); $qiuzhi -> set('isTest',true); $qiuzhi -> save(); echo "<script>window.location='/manage/get_Q_zhanghaoguanli_info';</script>"; return; } } </code>
求救 这样写有错吗????