Questions tagged as 'codeigniter'

0
answers

Popular JStree with MYSQL data - Codeigniter

I have created an example of json to populate a jstree and as below, it worked. Using codeigniter, I would like to know how the database structure could be, taking into account that I need to set up a logic to grant permission for a given grou...
asked by 27.03.2018 / 21:33
1
answer

Error upload - Codeigniter

I am uploading a csv file, however it returns the invalid extension error, even though the extension is freed. I was looking for the cause of the error and found it is because of a line that is in the file. if (!$this->upload->do_upload(...
asked by 19.03.2018 / 15:29
0
answers

Ajax (AngularJS) returning HTML from the page itself

I am using Codeigniter to retrieve data from the database. Controller: <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function __construct() {...
asked by 19.03.2018 / 00:02
0
answers

Create Array to populate jstree - Codeigniter and MySQL

Hello, it may seem like a silly question, but I just need to be aware of how an Array is created, so that the jstree is populated as shown below. I want to create an array containing the controller (example: user) and its functions view...
asked by 27.03.2018 / 02:30
0
answers

Codeigniter does not display your Welcome screen

I started learning codeigniter a few days ago and I have the following problem: I've done the correct installation of LAMP and Codeigniter /var/www/html/codeigniter But when I try to access the Welcome page of the framework...
asked by 24.03.2018 / 20:26
1
answer

How do I install a library (PHPExcel) in an application with codeigniter using NPM?

I'm developing an application that needs to export data from an array that received the result of a query in Excel format dynamically, and I wanted to know how do I import the library, started studying the web last semester and resumed this year...
asked by 27.02.2018 / 18:31
1
answer

Take the bank data and compare CODEIGNITER

Good afternoon guys, I was trying to create a login system for a college job when I came across the following: I am using Codeigniter and MYSQL I have a user database where you have registered the name (primary key) and a password (with...
asked by 26.02.2018 / 17:29
1
answer

Join with duplicate data CodeIgniter

1 client can have multiple processes and I would like to get in select all processes of a certain area even if it is from the same client. However, this join only returns only one record from a particular client. $this->db-...
asked by 04.03.2018 / 23:40
1
answer

Error loading Codeiginiter library database

I have the following error in codeginiter:    A PHP Error was encountered Severity: Error       Message: Call to undefined function mysqli_init ()       Filename: mysqli / mysqli_driver.php       Line Number: 135       Backtrace: I've...
asked by 20.02.2018 / 17:23
0
answers

CodeIgniter with PHPUnit

I'm trying to apply PHPUnit in my project with CodeIgniter, based on the following example ( link ), until then when the installation and dependency files are all ok, only when I add setUp () method. <?php class ApiTest extends PHPUnit_Fram...
asked by 18.02.2018 / 02:17