PHP修改出错。帮个忙 啊? 400 报错 $title, 'D_Content' => $content, 'D_shortContent' => $short_desc, 'D_CataID' => $CataID, 'D_Hits' => $hits, 'D_Pic' => $pic, 'D_Picture' => $D_Picture, 'D_Url' => $url, 'D_City' => $city, 'D_isHome' => $is_home, 'D_Published' => $published, 'D_Permission' => $permission, 'D_Order' => $sort_order, 'D_Keyword' => $keyword, 'D_Description' => $description ); if($isAjax){ $db = getDB(); $rows = getOne("#__newsdata","D_ID", $cid); if($rows->D_isHome == 0){ $query = "UPDATE #__newsdata set D_isHome = 1 WHERE D_ID = " . $cid; $img = ' '; }else{ $query = "UPDATE #__newsdata set D_isHome = 0 WHERE D_ID = " . $cid; $img = ' '; } $db->setQuery($query); $db->query(); echo ' ' . $img . ''; exit; }else{ if(updateTables("#__newsdata", $array, $cid)){ $c = array("A0001", "A0002", "A0003", "A0004", "A00050001"); if(in_array($CataID, $c)){ goWhere("淇敼鎴愬姛锛�","Admin_NewsModify.php?cid=" . $cid); }else{ goWhere("淇敼鎴愬姛锛�","Admin_NewsList.php?CataID=" . $CataID); } }else{ echo '淇敼澶辫触锛岃绋嶅悗鍐嶈瘯锛�'; exit; } }
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。