Questions tagged as 'codeigniter'

1
answer

Error inserting data in BD from a form with CodeIgniter

Situation: I have a view with a form to register new users: <form action="<?php echo base_url('/user/insert_new_user/0'); ?>" method="post"> <div class="form-group"> <label for="nombre">Nombre</label...
asked by 12.08.2016 / 12:30
1
answer

Undefined property and call to a member function on null in codeigniter

I'm doing a project with php and codeigniter but I get an error my codes are as follows: database.php       $active_group = 'default'; $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'localho...
asked by 04.10.2016 / 23:46
1
answer

jQuery Autocomplete in CodeIgniter, unable to resolve

Good If I autocomplete , but I want to save the value of the code, id and descripcion in the corresponding fields, I see that console.log shows {label: "3321", value: "3321"} , which values is the code you select, as it woul...
asked by 23.03.2016 / 04:07
1
answer

Autocomplete with JQuery UI -Function Select

Good, as I do so that the values of the array that returns me are loaded in the inputs, I see that the Select function of the autocomplete has a problem, console.log(ui.item) appears Object {label: "22222", value: "22222"} , when I...
asked by 06.03.2016 / 23:37
0
answers

Problem when updating with ID of another table in CodeIgniter

These are the 3 tables I have: ci_comments : comment_id, email, website, body. ci_relationship : id, comment_id, user_id. ci_users : user_id, username, email, biography. The problem is that I'm trying to get data from two tables,...
asked by 19.07.2018 / 09:14
0
answers

Help with Frappe grantt

Hi, I'm doing a gantt with js, I'm using frappe gantt, but at the moment of performing the function to generate it I get this error the text you see arriva is console.log (tasks). Here is a sample of my js: /*Llamar generacion de g...
asked by 08.09.2018 / 01:19
2
answers

Insert 2 databases at the same time, one in the cloud and the other local - CodeIgniter

I'm working on a project which will be handled locally, but it has to replicate to the database that is in the cloud, I'm using CodeIgniter, and I really do not know how I could do it I leave you what I have planned to do. This would be th...
asked by 18.05.2017 / 19:44
1
answer

Graphics with Highcharts, JSON and CodeIgniter

Someone to help me how to make a Grafica using Highcharts in CodeIgniter using JSON. url:('<?= base_url(); ?>index.php/ejemplo/ejemDatos/datos', function (data) { // create the chart Highcharts.stockChart('datos', { //datos es el id...
asked by 07.08.2017 / 23:29
2
answers

Error convert varchar to int codeigniter sql server

Hi, I'm doing a simple application with CodeIgniter and sql 2000, which searches for records according to a client RUT, which is of type varchar. model: <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Presta...
asked by 27.07.2016 / 23:04
2
answers

Problem sending controller array to model

I have a problem sending a array containing the data of a form from contralodor to modelo , when the data reaches the database arrive NULL , I have reviewed the code, I searched in Internet and I can not find what is wr...
asked by 16.09.2016 / 05:16