Questions tagged as 'codeigniter'

0
answers

How to receive data from a store procedure in CodeIgniter 3

Create a store procedure in mysql. Using CodeIgniter 3 already configured to use the mysqli driver, I tried to get the data returned by SP but it did not succeed. SP: CREATE DEFINER='root'@'localhost' PROCEDURE 'SP_DadosRelatorio'(IN an...
asked by 12.04.2016 / 04:57
0
answers

PHP processes never close

Hello, I am having a problem related to a PHP system that is running through a Windows Service. The application works as follows: I have a folder with several PHP files and scripts that serve as an offline application, which always r...
asked by 07.03.2016 / 19:13
1
answer

Re-Populate file type inputs after validation error in codigniter

I needed that whenever there was a validation error, when returning to the form the file fields had the information previously filled, however I could not make it happen, I tried with value="<?php echo set_value(''); ?>" but it did...
asked by 03.02.2016 / 16:56
3
answers

Error inserting data into MySQL - CodeIgniter

I have the code <?php $chave = $retorno->resposta->cobrancasGeradas->cliente->cobranca->chave; $this->db->insert('boletos', array('id_fatura'=>$id_fatura, 'chave_boleto'=>$chave)); ?> When it executes this...
asked by 05.01.2016 / 00:14
2
answers

codeigniter - list related data

Hello, I'm trying to show the name of a channel associated with an event through an FK, but I'm not able to show it. Model: public function get_events() { $this->db->get('events'); $this->db->join('channels', 'events.channel_...
asked by 19.11.2015 / 13:38
0
answers

Sort the datatable table by the date of the records

I have a code, which when starting, creates a table using dataTable . The data in this table comes from my MySQL database. I am not sure how my records are sorted, if I am not mistaken it is coming from the Id, but I need it to be sorted by t...
asked by 18.11.2015 / 14:06
0
answers

Bring user information in the model

I have a code that lists several reports. These reports are saved in the database and to call them I use the Model in CodeIgniter . Within the model, I have a where and to make it work perfectly, with the information I want, I need to...
asked by 12.11.2015 / 11:47
1
answer

Divide form to insert in different lines of the database (codeigniter)

I have a dynamic form that is filled as there are questions in the database, this form tb writes text boxes, checkboxes, textareas, etc according to the type of question defined in the database, the problem is that when submitting I need that it...
asked by 27.10.2015 / 11:28
0
answers

Error generating image report

I have a code that has multiple photos separated by reports. Each report can have any number of photos. When you click the button to generate this report, if you have several photos (around 60) it starts to generate errors instead of generating...
asked by 26.10.2015 / 11:49
0
answers

Data request, checkout Sky

I'm having trouble receiving the data in the Checkout and Sky status URL. I'm using the CodeIgniter framework, and the data does not update the table. Follow the code in my Controller Cart: public function notify() { $order_number = $t...
asked by 10.11.2015 / 21:01