Questions tagged as 'codeigniter'

2
answers

Help creating a function in PostgreSQL that inserts datps in columns with a delimiter character

I have a table with characters Name, Aepllido, Cedula and Date of Birth, and I receive a series of sentences similar to Luis*Lopez*273982*24/12/1998|Juan*Gonzalez*232234*03/12/1987|Julio*Perez*274234*03/12/1995 I want to be able to delimit...
asked by 10.07.2018 / 17:57
1
answer

Check with where in CodeIgniter

I am trying to make a query in which you show me an article in this library using the uri library In the index I show a list of courses, if I click on a course through the recovered id I want to show only that course individually. shows me...
asked by 07.07.2018 / 07:03
0
answers

Force_download on codeigniter

I would like to know how I can download a file using the force_download method of Codeigniter, and choose the destination directory within the same project, and not the "downloads" folder as it is by default. Of course, thank you very much -...
asked by 08.07.2018 / 01:31
0
answers

Configure server for REST with php

I have the following doubt, I created an api rest with php, locally it works great, but when I upload it to the server the drivers are not available. The problem is not the route, since a controller is looked for by default of the framework and...
asked by 05.07.2018 / 22:11
0
answers

Help with Helpers in CodeIgniter

I'm starting with CodeIgniter. but I found a bump in my web application, it's just a hello world using own helpers. step code controller <?php defined('BASEPATH') OR exit('No direct script access allowed'); class CodigoFacilito extends...
asked by 06.07.2018 / 02:27
0
answers

change path of grocery add crud

Hi, I am new using codeigniter with grocerycrud and I have 1 question, which is if you can change the path of the add that brings the grocery crud to use my own view that I have created. I know that the settings are made here but I do not kno...
asked by 06.07.2018 / 06:17
1
answer

Send data from a modal materialize to the controller

I wanted to know in what way I can send the information within a materialize modal, to a controller within the codeigniter framework using php. Thank you in advance.             Modal <!-- Modal Structure --> <div i...
asked by 03.07.2018 / 04:26
3
answers

Select record to record in query Codigneter

I am new to this of the Codeigneter so I apologize beforehand: I have the following Query defined: $query=$this->db->select('articulo,descripcion,precio,cant,por_dto1,imp_cos,imp_bru,imp_net'); $query=$this->db->from('alb_li...
asked by 05.07.2018 / 14:11
0
answers

Generate Excel file with PhpSpreadsheet in Codeigniter from a view

I am trying to generate an Excel file with CodeIgniter and the PhpSpreadsheet library from a view. The report that I need to do is not a list but much more complex and I can generate them more quickly with a view and sending parameters. This is...
asked by 26.07.2018 / 22:50
0
answers

Multi Insert in Codeigniter

I want to make multiple insert in a table with an FK, but only enter a line, it will be because I do not count the $count . Here my code Model public function create($table,$data) { $query = $this->db->insert($table, $da...
asked by 18.06.2018 / 15:42