Exemplo n.º 1
0
 function delete_before() {
     $tbname = config::get('database','prefix').'archive';
     $typeid = front::$get['id'];
     $where = "typeid = '$typeid'";
     $arc=new archive();
     $arc->rec_delete($tbname,$where);
 }