- Автор темы
- Заблокирован
- #11
то-же самое...попробуйте так
PHP:$this->db->query("DELETE FROM `{$this->table}` WHERE catid=$catid"); $arrchildid = $this->category[$catid]['arrchildid'] ? $this->category[$catid]['arrchildid'] : $catid; $this->db->query("DELETE FROM `{$this->table}` WHERE catid IN ($arrchildid)"); if($this->moduleid > 4) $this->db->query("UPDATE `".get_table($this->moduleid)."` SET status=0 WHERE catid IN (".$arrchildid.")");