Facebook

Вы тоже по старинки пишете «select id from campaign where owner=».$this->session->userdata(‘id’).» and active=1″ вместо «select id from campaign where owner={$this->session->userdata(‘id’)} and active=1» ?