Questions tagged as 'codeigniter'

2
answers

bring bank data with Javascript

I have a <a href="javascript:void(0);" class="justificar" data-value="<?= $l->img_id?>"> that when clicking, I need to bring a data from the database, but I do not know how to pull this data to the screen. My code is in cod...
asked by 21.08.2015 / 14:17
1
answer

Retrieve data in form in jQuery

call.js function clienteChange() { var id = $('#idCliente').val(); $.ajax({ url:"/Entregas/clientes.endereco.php?id=" + id, dataType : 'json', success:function(result) { $('[name="cham_endereco[]"]')....
asked by 23.06.2015 / 23:46
2
answers

Codeigniter + Autocomplete JQuery UI does not return list

Good afternoon guys, I have a search field where I give "suggestions" rather than typing, based on what I have registered in my database. It was working perfectly, but it stopped working and I can not find the error. Script: <script...
asked by 23.06.2015 / 22:18
1
answer

Shipping Table - Neighborhood Listing

I have a table named bairro : Ihaveatablenamedtabelafrete: I have the following SQL public function getBairroList() { $sql = "SELECT * FROM bairro as b Left join tabelafrete as t on b.idBairro = t.idDestino where t.idSai...
asked by 10.06.2015 / 04:38
1
answer

Sending mail with Codeigniter using Gmail

I'm trying to make a form for sending emails but I get the following error: A PHP Error was encountered Severity: Warning Message: fsockopen(): unable to connect to ssl://smtp.googlemail.com:465 (Connection timed out) I created a configur...
asked by 26.05.2015 / 21:41
1
answer

Identify selected checkboxes

Well I have a page (view) that does a select from the database and returns the images to the user to select a limit of photos determined by the administrator more wanted to count and show the user how many photos he can still select, that is, whe...
asked by 06.05.2015 / 14:40
1
answer

Upload with Error CodeIgniter

Good evening. I would like help if possible. controller / documents.php public function clienteAdicionar(){ if(!$this->permission->checkPermission($this->session->userdata('permissao'),'aDocumento')){ $this->sessi...
asked by 17.06.2015 / 04:01
1
answer

Using the Codeigniter Helper (Download_helper)

Good evening! I'm using the force_download() function to download a file. However, I need to do the same procedure, but with several files downloaded at the same time. I implemented a code, the logic I used is not performing such a proced...
asked by 21.04.2015 / 01:55
3
answers

Use variables in Model

Well, I have the following function in my Model: public function get_learning_category_list() { $categorias = $this->db->select('t1.id, t1.title, t1.metadata, t1.meta_title, t1.description, t1.meta_description, t1.meta_spam, t1.url,...
asked by 06.04.2015 / 15:36
1
answer

Add Arrays with php

I'm not sure what I want to do, but I'm not sure how to do this. Array ( [0] => Array ( [0] => Array ( [i_chamada] => 1...
asked by 02.04.2015 / 15:00