Questions tagged as 'codeigniter'

2
answers

Manipulate .asc file with PHP and MySQL

I want to upload a file .asc and insert it into my MySQL database. The content of the file is similar to this:    3884 | 5000007 | 160 | 1 | IN | 160 || HME980330SL3 | MESJ540212HDFRNR02 | 14.71800 | 0 | 0 | 0 | 0 | 0 | 8827.700 | 7...
asked by 26.12.2016 / 09:18
0
answers

nested query in codeigniter with mysql

good. I have a query that already works in mysql but I have not been able to make it work in my codeigniter model, I have exactly syntax problems like this query could translate: select t1.id_tabla1 as , t1.condicion, greatest(coalesce...
asked by 14.12.2016 / 02:17
1
answer

How to read a nested div without having a defined class

I'm with the following problem with a scrapper, I have the following code $text = get_content_of_element($html, 'div', 'class', 'text'); and the site where I need to read the data has the following structure <div class="text">...
asked by 07.01.2017 / 12:05
1
answer

Angularjs, problem with ng.repeat when doing push

I have a problem with angular, this is my code: HTML <div class="row"> <div class="col-sm-12"> <div class="panel panel-default"> <div class="panel-hea...
asked by 21.12.2016 / 02:57
2
answers

I do not load the models

I know I've asked a lot here. But now it's a problem that escapes my understanding, I've uploaded all my information to this page link It happens, that when I try to access, I throw the error    "An Error Was Encountered       Unable to...
asked by 04.08.2016 / 02:08
1
answer

Problem to Capture Error BD Codeigniter

I would like to know why it does not give the error number when I enter a wrong value in the Database. This is the Function of the Model ... <?php class Pacientes_model extends CI_Model { function __construct() { parent::__co...
asked by 23.09.2016 / 18:02
2
answers

I can not insert content with special characters to database

I am working on importing an Excel with the PHPExcel library with PHP in codeigniter. It has characters like " " , not allowing the insertion to my database with Postgres. This is my function within the model that inserts the records:...
asked by 02.12.2017 / 00:57
2
answers

How do I return 2 array to the Ajax success? [closed]

Controller .... function getCompetencias(){ $query['competencia'] = $this->studentCompetencias_model->getCompetencias(); $encon = json_encode($query); $student = $_POST['alumno']; $teacher = $_POST['c...
asked by 17.12.2018 / 05:48
1
answer

Data is not updated in Codeigniter

I am using a website that is developed in Codeigniter. The problem that I have is when adding a service or client, since this app is developed for a technical service system for PCs. When you add a client, it shows you a form with the data. Y...
asked by 07.04.2016 / 21:47
1
answer

Update a table with ajax

How can I update a table using ajax , I have the following table: $("#venta").bootstrapTable({ url:'<?= base_url(); ?>index.php/ejemlo/usuarios/datos' columns:[ {field: 'reStatus'},...
asked by 19.08.2017 / 17:03