Questions tagged as 'codeigniter'

0
answers

Problems with transactions codeigniter

my doubt is that I am executing the following code in codeigniter, it consists of executing the procedure in the SQLServer that returns a value (output), but in codeigniter I always get this error message: $data = array( $this-...
asked by 12.02.2018 / 21:51
1
answer

Mpdf has a deprecated constructor

I would like to know how to solve this error message. I'm working with php v. 7.0.22, Codeigniter v. 3.1.0. and Mpdf v. 6.0 Use SO Lubuntu 17.04. Thanks.     
asked by 08.02.2018 / 18:33
1
answer

generate csv file with php

Good afternoon, I have a problem generating a csv file and opening it with excel, this opens showing all the data but does not separate them by column only places in column A here I share the code public function generar_excel(){ $condicio...
asked by 22.01.2018 / 18:27
2
answers

Unable to load the requested class

I was developing in W7 and wanting to follow the work in Ubuntu, the message appears:    Unable to load the requested class: MPDF The autoload.php: $autoload['libraries'] = array('database', 'email', 'session', 'Mpdf'); The class is...
asked by 24.01.2018 / 14:03
0
answers

Generate file ".sql" from CODEIGNITER

How about, someone who can help me generate a file ".sql" a backup of my database from php using codeigniter, which are only some tables which are in an array $ tables = array (                 "table1", "table2", "table3"); and that the f...
asked by 10.01.2018 / 23:35
1
answer

Error in json ajax and codeigniter using join

I have a modal window that I want to show the product information, but the table in the database has two fields that store the id instead of the name. Example the product table Code = 123456 Name = Product 1 Category = 1 - > there are anot...
asked by 05.01.2018 / 06:13
1
answer

Array from JS to php codeigniter

I am working on a personal project and I have a question about the passage of data to php. It turns out that in js I keep changing the colors of the div (the colors are initially loaded through a query to a bd) in an array, with the code and...
asked by 23.01.2018 / 20:29
1
answer

Validate single field in modal form ajax codeigniter

I have a form in modal to enter data, and it validates me that the fields are empty before saving, but how do I validate that one of the fields is unique? that the information can not be repeated. It is done with codeigniter using modal, the cod...
asked by 31.12.2017 / 22:02
0
answers

How can I get codeigniter a COUNT () or a SUM () of the same value?

Well, that ... I'm making an application with Codeigniter, and everything is going very well, but to present a summary of data I'm looking for a solution to get the sum of the number of times that value is positive (but in this case it is litera...
asked by 15.12.2017 / 08:03