Questions tagged as 'codeigniter'

1
answer

Carrot does not show photo

Well, I have a carcel where I get the "images" (in fact they are just names of the images) in the database and I make a foreach in the carcel plus the images do not appear. When I view the source code I see that the images are embedded in the pa...
asked by 21.10.2016 / 07:07
1
answer

Problem to generate reports with DOMPDF + Codeigniter

Hello, I'm trying to generate a report using Dompdf but I'm encountering the following error A PHP Error was encountered Severity: Notice Message: Undefined property: Relatorio::$dompdf Filename: controllers/Relatorio.php Line Number: 2...
asked by 01.12.2016 / 16:34
1
answer

Join CodeIgniter

Next, I have a vague table and other vaga_cadidato, I would like to select the data of the same ones when the id_entidade is equal in the id_entidade. But it is showing me only the data of the vacant table, I would like that in this same query t...
asked by 23.09.2016 / 05:28
1
answer

AJAX request for PHP (CodeIgniter) does not return values

I'm working on a situation that I can not resolve for more than 2 days in a row. I have an AJAX that is requesting the values for a controller to populate a select with cities. The request seems to be (no error in debug), but nevertheless nothin...
asked by 12.08.2016 / 03:38
1
answer

GoogleMaps - CodeIgniter - PHP

I'm using the following library library to make markings on the map, someone who has already used could it tell me if it is possible when the user clicks the red dot to appear a box with some information? I tried searching the documentation an...
asked by 20.09.2016 / 17:02
3
answers

Popular Modal Bootstrap for Edit User

Good morning, folks, I have a user screen with a list that was populated by a foreach, and each line has a link to edit the user. This link opens a modal that should already come with user information, but I'm having a hard time doing it. I'm...
asked by 19.07.2016 / 13:14
1
answer

How to extend CI_Controller to more than one core?

In Codeigniter you can create a MY_Controller.php file in the application / core folder and the extended controller of that file, a basic example would be: <?php class MY_Controller extends CI_Controller { public function __cons...
asked by 16.07.2016 / 15:58
1
answer

file upload with error on return json

I'm uploading a file with jquery + ajax using the jquery plugin plugin. The processing of the form is all ok, the file goes up and the data is saved in the database. The problem is in return with the answer in json. This is printing the answe...
asked by 28.07.2016 / 21:00
1
answer

What is the best way to use templates in Codeigniter 3

I'm using version 3 of codeigniter and inserting the concept of templates through the PARSER library, according to the CI's own documentation link It turns out that in version 2 I use a layout model through a Hook, as in this example:...
asked by 24.05.2016 / 17:27
1
answer

Edit html + php + jquery items

I have to edit a record series, they are listed in a table (see): Hereistheimageformabove:<divclass="control-group"> <table class="table table-bordered "> <thead> <...
asked by 29.09.2016 / 16:26