Questions tagged as 'codeigniter-3'

0
answers

Codeigniter does not redirect

This Link only sends me to localhost of xammp , I feel that the address is:    link My driver: <?php class Link extends CI_Controller { public function index() { echo "Cosme Fulanito"; } } My Home: &...
asked by 15.12.2017 / 21:13
0
answers

Obtain user data logged with codeigniter and mysql

I am doing my first project in codeigniter, and I have a question with the login of the application, what I need is to obtain the data of the logged in user (with his RUT and Password) to show them on the homepage. The driver is the following:...
asked by 22.11.2017 / 06:51
0
answers

Why is the default driver path not working?

I'm doing a project with CodeIgniter. When a user visits my page, I wish that by entering the address (in this case I am testing it on the localhost) of the site, access the home.php page. I understand that to achieve this, the path $route...
asked by 26.10.2017 / 16:55
1
answer

Problem when accessing query result in codeigniter

I make the following query: $this->db->distinct(); $this->db->select('documentos.titulo_principal,documentos.descripcion,autores.nombre,areas.nombre'); $this->db->from('documentos'); $this->db->join('documento_area', 'd...
asked by 03.09.2017 / 08:39
1
answer

Undefined variable when sending data from the controller to the view

I'm doing a small practice project where I take out information from the database and show it in a view as a "profile" type. At the moment of showing it, I get an indefinite variable error, but that variable is already brought in the query...
asked by 16.11.2017 / 07:11
1
answer

Undefined property [closed]

<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Model_Usuario extends CI_Model { function __contruct(){ parent::__contruct(); $this->load->database(); } function getPerfil(){...
asked by 13.08.2017 / 01:32
1
answer

Error Undefined property: codeigniter

Good afternoon, I have the following error, and no idea why (I'm new to codeigniter): A PHP Error was encountered Severity: Notice Message: Undefined property: cPersona::$mPersona Filename: controllers/cPersona.php Line Number: 29 Backtra...
asked by 22.08.2017 / 20:58
0
answers

How to use an Oracle function from PHP?

Cordial Greeting. I am working on Oracle 11G from PHP and it is necessary to use some functions of ORACLE from PHP and since I am passing more than 1 query at the same time to use INSERT ALL I am sending the data in an array and using the fun...
asked by 11.07.2017 / 23:02
1
answer

Is it possible to send a variable from the controller to a config file, in Codeigniter?

I am working with Codeigniter 3, I have a config file (form_validation.php) in which I have all my validation rules. Within my configuration file (form_validation.php) I have a method that needs to receive a variable (in this case the user_id...
asked by 09.05.2017 / 08:01
1
answer

Codeigniter 3.1.4 with Eloquent 5.4 Service

Controller Services to get AWARDS including count and paged This is my service controller, with CODEIGNITER 3.4 and ELOQUENT 5.4 public function __construct() { parent::__construct(); header('Content-Type: application/json');...
asked by 12.05.2017 / 19:41