Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: user6d450
Added: May 9, 2019 11:06 PM
Views: 11
Tags: no tags
  1.   public function delete()
  2.     {
  3.  
  4.         $this->db->query("DELETE FROM newscenter WHERE newscenter_id = '$this->newscenter_id'");
  5.         $this->db->execute();
  6.  
  7.          $label_text = $this->languageTranslate('newsdelete');  
  8.         $this->adminLog($label_text.' '.$this->newscenter_id);
  9.  
  10.        
  11.         $this->sendMessage('success','S218');
  12.     }