Questions tagged as 'codeigniter'

0
answers

modify .htaccess using CODEIGNITER

I have a section where I want to edit the .htaccess file using a <textarea> field ... but here comes the problem, this is my original htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(index\.php|resource...
asked by 04.12.2017 / 17:22
1
answer

Undefined property in Foreach

I'm logging into my system and once I login, the idea is that the menu is updated according to the type of user profile, for which I'm doing from the database and showing the menu through a Foreach . However within the Foreach, when comparing on...
asked by 27.10.2017 / 17:53
1
answer

Search in database with Foreach in my model Codeigniter

Hello to the whole stackoverflow community, my respects for this site is undoubtedly full of geniuses and I hope you can help me: / ... The issue here is that I have to make a report of how many people were cited by campaign from the first of...
asked by 20.11.2017 / 17:08
0
answers

Send array, POST method

Dear colleagues, previously I sent my IDs by GET and it caused me problems because a user could change the data of another user simply by changing ID. Now I have modified my code and I am sending my ID by hidden method POST. The code is as fo...
asked by 28.09.2017 / 18:35
0
answers

How to import an EXCEL to MYSQL using Codeigniter? Tutorial

I recently asked about this topic on this website, and since I managed to import the data correctly, and after almost a week searching the Internet, I decided that it would be good to publish a question about it, since the biggest part of inform...
asked by 19.09.2017 / 01:11
2
answers

Codeigniter get values of an input or a variable from the controller

I'm new to codeigniter and I wanted to know if you can get the value of an input tag or a php variable from the controller. What I want to achieve is to send data from one visa to another in a similar way to the POST method (without the values b...
asked by 11.09.2017 / 21:25
1
answer

Message: Undefined variable

I get the following error message and I have not been able to solve it. A PHP Error was encountered Severity: Notice Message: Undefined variable: students Filename: views/vEstudiante.php Line Number: 85 Backtrace: File: C:\xampp\htdocs\st...
asked by 14.09.2017 / 00:37
1
answer

Error range dates php DateTime

I get the following error, I'm trying to do a range filter by dates, I'm using CodeIgniter 3x , I send the following dates by AJAX to PHP : $fecha1 = 21/07/2017; $fecha2 = 21/07/2017; In this way I separate the date from...
asked by 21.07.2017 / 21:54
1
answer

Get fix data in CodeIgniter

Hello, I have a problem when it comes to extracting data from an array. $data = array(); $data["usuario_pantallas"] = $this->usuario_pantalla->usuario_pantalla(); print_r($data); And when I print it, this is what I get...
asked by 12.06.2017 / 03:22
3
answers

How to pass a selected value in a datatable through POST?

I am using a DataTable to display information and I have a select with another group of data I would like to be able to give it to the $_POST fix the value that I select in the table and the select one. This last one I ha...
asked by 05.06.2017 / 22:53