Questions tagged as 'codeigniter-3'

1
answer

Load two dependent combos at the same time from the database

Good I am trying to load two combos at the same time but like that you can not if I only show a combo there is no problem but the problem is when I load the two combos; Here is the code The users.php driver <?php defined('BASEPATH') OR...
asked by 18.08.2016 / 18:27
0
answers

Get data with WHERE_IN in CodeIgniter Sending Array with Ajax from Vista

I'm not very expert in the subject, I'm in the beginning. what I want is to obtain model data with an array sent with the category IDs to the controller through an AJAX request, the category IDs grouped in an array in Javascript as follows:...
asked by 03.01.2019 / 18:00
2
answers

How to avoid erasing the form data when sending them in a POST?

Hello I have a form and I want to keep the information I capture in the inputs because when sending the information it is deleted and you have to be constantly filling in the inputs and I want to keep the information <form action="" met...
asked by 03.01.2019 / 00:12
2
answers

How can I interpret this mysql query in the codeigniter model?

select nombre,nombre_comando,valor from servidor S, configuracion C, configuracionservidor F where F.id_servidor = S.id and F.id_configuracion=C.id This query works for me in Mysql but at the moment of writing it in the model of...
asked by 11.12.2018 / 20:30
0
answers

CodeIgniter 3, how to configure the .htacces to remove the index.php

I'm a little dizzy about this and I'm not good at this kind of configuration. I have a project as follows: ProyectoPrincipal/ Backend/ application/ system/ Frontend/ application/ system/ That is,...
asked by 11.12.2018 / 16:04
1
answer

How to print an arrangement with a foreach in CODEIGNITER?

In the DB model , the query is fine, in the Controller the information is sent correctly to the view but in the View not I know how to print the matrix in a foreach. The only way to print the arrangement is with the following: <?php...
asked by 12.12.2018 / 17:35
0
answers

AJAX does not make my request to the controller and returns not found

Good morning I have a problem since yesterday. I have a JavaScript function where I make a request with AJAX to a controller called admin_controller to the create_session function. function crear_sesion(){ $.ajax({...
asked by 04.12.2018 / 18:09
0
answers

Do not send form to mail (library CodeIgniter)

Good morning I have a form that I want to send to my email    Form <div class="col-lg-5"> <div class="contact-box m-l-30"> <h1 class="title font-light m-t-10">Contáctanos</h1> <form id="form_c...
asked by 06.12.2018 / 16:57
0
answers

DataTables warning (table id = 'PRData'): Requested unknown parameter '13' from the data source for row 2

Hello good night, present the following error of the data table in codeigniter, I try to find the error but I have little experience in the script:    DataTables warning (table id = 'PRData'): Requested unknown parameter   '13' from the data...
asked by 08.11.2018 / 09:08
1
answer

Return value to enter a conditional php Codeigniter

Good afternoon everyone. I do not know if I am doing well or if it is necessary to do so. I am working on a development with PHP and Codeigniter and I have two files one in the Controller folder and another in Model ; what I try to do i...
asked by 10.10.2018 / 23:35