Trotor Posted March 23 Share Posted March 23 Очень нужно составить конструкцию для файла задач, где по запуску задачи удаляеться часть информации с определённого поля, эта часть информции указываеться в другом поле. Вот что то типа такого: $this->DB->delete( 'members', 'mgroup_others="promote_moder"' ); Внёс вот такую конструкцию в файл задач, которая напрямую обращаеться к базе данных, однако такая конструкция как я смотрю довольно тяжёлая для форума: $this->DB->query( "UPDATE ibf_members SET mgroup_others = REPLACE(mgroup_others,'87,','') WHERE promote_moder=1" ); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now