Questions tagged as 'codeigniter'

1
answer

How to translate JS plugins dynamically with Codeigniter?

I'm developing a WebApp using Codeigniter and need to have multiple languages, in quiet PHP, my problem is how to organize the translations of Javascript plugins. Example, I have in the application plugins like DataTables and Datepicker and...
asked by 27.07.2017 / 21:39
1
answer

Transferring JSON to CodeIgniter via AJAX

I'm not able to pass a string in the format JSON to a controller of CodeIgniter via AJAX. The string JSON: var avaliacao= {"avaliacao":[{"pergunta":"Qual sua idade?"}[{"resposta_certa":"99","resposta_err1":"11","resposta_err2"...
asked by 11.02.2014 / 19:56
1
answer

Upload file with post

My view has this field: <form class="form-horizontal"method="post" action="<?=base_url('index.php/home/cadastro')?>" enctype="multipart/form-data"> <input id="img" name="img" class="input-file" type="file"> In my controlle...
asked by 11.10.2016 / 20:20
1
answer

Sort sequence of numbers in database with PHP

I'm having trouble developing a system that changes a sequence of numbers. I need this sequence to arrange items in the correct order. When saving an item in the bank, it receives a number for the sequence 1, 2, 3 ... and so on. I decided to...
asked by 13.05.2016 / 15:44
2
answers

Google Maps with multiple markers from the database

I have a code where it takes the longitude and latitude from where you are and places it on a map. I need to have all the latitudes and longitudes of the database with markers on each of these points appear on this map. My code is in Codeigniter...
asked by 11.08.2015 / 14:21
4
answers

Codeigniter 3.0 giving 404 not found

I've installed CodeIgniter 3.0 in my apache and when I have access link it returns me error 404 not found . The files of controller is correct and views too (only has HTML). What happens to give this problem in version 3....
asked by 26.05.2015 / 05:56
3
answers

How do I get the $ _GET value of a URL in CodeIgniter

I am sending a value get through a link for example: <a href="/admin/editar_user/5">Editar</a> And there in the method of my controller that calls the view I get: public function editar_user(){ $this->load->vi...
asked by 11.03.2014 / 16:04
0
answers

Generate PivotTable with TCPDF

Good afternoon, I'm using TCPDF to generate an evaluation report, and I need this report to be divided into the weeks the user has activity. The report is currently WhatIneedistogothroughthearray,startingonMondayandendingonSunday,wh...
asked by 12.11.2018 / 18:38
3
answers

How to format title for url format?

For example, I have a title: 'Test Title Url'. But I need to leave it in url format, is there any function that does this?     
asked by 15.04.2015 / 16:48
3
answers

Upload template automatically

Is it possible to program codeIgniter to load the template automatically without having to specify the views for each call in the controler? Example user controller public function listar() { $this->load->view('template/he...
asked by 17.11.2014 / 19:18