Questions tagged as 'codeigniter'

2
answers

Error sending data by ajax to the controller

My function called register does not send the data to the controller even though everything is fine, it only returns error, but how is it possible? if in the condition I say, if the field is empty I return error, but it is not empty I should ret...
asked by 27.08.2018 / 16:32
0
answers

Codeigniter - expression # 1 of SELECT list contains nonaggregated column

I've done everything and still keeps sending me the error $this->db->distinct(); $this->db->select('s.id, COALESCE(SUM(sd.cajas),0) as cajas, COALESCE(SUM(sd.peso),0) as peso, c.nombre'); $this->db->fr...
asked by 16.08.2018 / 00:54
0
answers

Download .wav files

I have .wav files that I want to download. I'm trying to download them but it does not fit, it came out downloading .mp3 but not .wav. I share my code that I have:    Button that triggers the controller method and passed it as a parameter...
asked by 14.08.2018 / 16:12
0
answers

Put an image using the PHPEXCEL library

I am trying to put a header image in my EXCEL document but I have not succeeded, I am using the PHPEXCEL library and the CODEIGNITER framework. I hope you can help me, I share my code when I generate the EXCEL. public function export_excel_...
asked by 13.08.2018 / 15:56
0
answers

Pagination Codeigniter

public function car(){ $data['title'] = $this->project_model->projectName().$this->title; $data['meta_tags'] = $this->metaTags; $data['keywords'] = $this->keywords; $data['details'] = $this-&g...
asked by 12.08.2018 / 01:19
0
answers

Store checkbox data from a modal window in another Codeigniter view

The staff needs to collect the elements of the selected checkbox showing in a modal window and move to another view without the need for these to be stored in the view and that can return and add more data without losing the already inserted one...
asked by 10.08.2018 / 19:39
0
answers

insert and update in the same table in codeigniter

I'm new to Codeigniter, I'm creating a Ws in php that inserts data in the database and then updates them depending on the user id and device and if not send me a message that corresponds to data inserted, data updated and if there is a repeated...
asked by 03.08.2018 / 16:56
1
answer

show ARRAY Codeigniter

I have the following code where I do a search with a worker code, but now I want to do it with more workers. It shows me only the last selected worker. Controller. // $persona = $this->input->post('persona'); $this->form_va...
asked by 06.08.2018 / 15:18
2
answers

How to add css and js to codeigniter?

My code: <link rel="stylesheet" type="text/css" href="<?php echo base_url('/resourse/rs-plugin/css/settings.css');?>" media="screen" /> But I get the error: GET http://mi_ip/mi_web/resourse/rs-plugin/css/settings.css 404 (Not...
asked by 03.08.2018 / 02:57
0
answers

error using quicksearch jquery, button dropdown appears out of nowhere

I am working on codeigniter and I am using the jquery multiselect and quicksearch libraries ( link ) to add an input to filter the information of the multiselect, but when I add it, it adds a button dropdown with the information contained in the...
asked by 30.07.2018 / 19:04