Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.08 KB | None | 0 0
  1. $anuncioEdit = array (
  2.     // coluna                                       campo
  3.     "titulo_anuncio"                    =>      ucfirst(strtolower($this->input->post("titulo_anuncio"))),
  4.     "descricao_anuncio"                 =>      ucfirst(strtolower($this->input->post("descricao_anuncio"))),
  5.     "fotos"                             =>      $this->input->post("fotosanuncio"),
  6.     //"categorias_select"                   =>      $this->input->post("categoriasanuncio[]"),
  7.     "categorias_select"                 =>      $comma_separated,
  8.     "palavras_chaves_anuncio"           =>      strtolower($this->input->post("palavraschavesanuncio")),
  9.     "visivel_telefone1_anuncio"         =>      $this->input->post("exibirtelefone1"),
  10.     "visivel_telefone2_anuncio"         =>      $this->input->post("exibirtelefone2"),
  11.     "visivel_celular1_anuncio"          =>      $this->input->post("exibircelular1"),
  12.     "visivel_celular2_anuncio"          =>      $this->input->post("exibircelular2"),
  13.     "visivel_email_anuncio"             =>      $this->input->post("exibiremail"),
  14.     "visivel_site_anuncio"              =>      $this->input->post("exibirsite"),
  15.     "anuncio_ativo"                     =>      $this->input->post("anuncioativo"),
  16. );
  17.  
  18. $this->load->model("anuncio_model");
  19. //$this->anuncio_model->atualiza($anuncioEdit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement