Questions tagged as 'codeigniter-3'

2
answers

Ion Auth create user (not administrator) without login

Well, my question is this, I have implemented a login system using the fantastic Ion Auth library, which brings with it multiple options, including an administrator panel to create administrators, groups or non-administrator users within of thos...
asked by 27.04.2017 / 09:20
1
answer

How can I traverse a json array, get its values to show them in the view?

function nuevaPartidaVenta() { var ticket = $('#ticket').val(); if (ticket != null && validaFormPartidaVenta()) { //$(".agregar_partida_catalogo").hide(); var style_edit = 'style="width: 100%;"'; var url =...
asked by 16.02.2017 / 00:59
2
answers

Go through foreach in controller codeigniter

I have the following problem, I am working in Codeigniter and then I am doing a small validation in the index of my controller this is the code: function index() { $user = $this->session->userdata("id"); $co...
asked by 22.01.2017 / 01:06
1
answer

textbox visible depending on the value of a drop-down list

Hello how are the problems I have is how to make a texbox visible depending on the value of a drop-down list, I attach the vision code <?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!DOCTYPE html> <...
asked by 23.08.2016 / 00:06
1
answer

INSERT IN TABLES RELATED TO INPUTS AND SELECTS

Hello the problem I have is that I can not insert data in a related table I'm using combos and input I'm taking into account that the combos are loaded by database Here is my model model users <?php defined('BASEPATH') OR exit('No dire...
asked by 18.08.2016 / 22:39
1
answer

Roles, levels or user privileges Codeigniter

I have a question about the roles or user privileges in Codeigniter, I have a page where I can change the role of each user if he is an administrator or limited user, what I can not do is that when I log in, load his profile if you are an admini...
asked by 25.05.2017 / 16:23
1
answer

How to send mail with Codeigniter using the email library?

I am starting to program so I am making a web page but the query mail does not work, it does not send the description. You could see my coding that is with Codeigniter and explain to me a bit that I'm wrong or because it does not work...
asked by 24.08.2018 / 19:28
0
answers

Show modal while another controller method is running and shows its elements

Hello, good morning, I have the following problem. I have a controller reg_calls_controller.php which has its function index and load the view reg_calls_view.php , in the html I have several things in between button that calls to the fo...
asked by 20.07.2018 / 18:36
1
answer

error in json and ajax

This is my mistake:    DataTables warning: table id = table - Invalid JSON response. For more information about this error, please see link I'm using codeigniter. What happens is that a data table will load the data with ajax making...
asked by 17.06.2017 / 00:15
3
answers

I can not insert in BD with CodeIgniter

I have a view with a Modal PopUp form when the accept button is executed, it does not insert in the database or mark any error, I hope you can help me. VIEW: <!-- Modal (PopUp registro de nuevo cliente) --> <div class="modal fa...
asked by 25.05.2016 / 02:21