Questions tagged as 'codeigniter'

1
answer

Delete php session when closing browser

I'm using CodeIgniter to develop a project that involves a restricted area. I am using session to store the data of the user that is logged in. I need to close this browser when I close the browser, remembering that I am using CodeIgniter...
asked by 19.12.2017 / 20:47
1
answer

Print 2 records per page with Mpdf

My problem is this: I need to print duplicates. I am using to generate the pdf Mpdf . When I need to emit only one blz, it works perfectly, but when I need to print more, it cuts, it gets one part on the first page and the second on the en...
asked by 13.01.2017 / 21:32
2
answers

tabs overlapping in foreach [closed]

I need the foreach to work correctly: For us to have no doubt here is the normal code: <!-- Tab v2 --> <div class="tabs alternative"> <ul class="nav nav-tabs"> <li class="active">...
asked by 28.10.2016 / 04:30
1
answer

Show child results in parent array in Codeigniter

Good afternoon, I'm starting on Codeigniter and would like some help. I have a Soccer Times table. Each team has its players that are in another table of my bank. I get the values of these two separate tables, but I would like to create on...
asked by 15.08.2017 / 15:45
1
answer

Access object within object (SdtClass - Codeigniter)

Hello! Through ajax data: { 'objeto': JSON.stringify(_obj_devedor) } ; I am sending the following objeto to the server. And in the codeigniter, I'm converting as follows: $objeto = $_POST['objeto']; $objeto_decode = json_dec...
asked by 08.09.2017 / 14:32
1
answer

Error !!! You did not select the file to upload. Codeigniter

I have a problem uploading the image and registering it in my database. In my database I have a table called tbl_article where there is a when going to the image in question called image_item with a varchar (80): In the view like this: &...
asked by 11.10.2016 / 14:37
2
answers

Upload Multiplo CodeIgniter

I have a form to upload multiple images using codeigniter: <input type="file" name="files[]" id="filer_input2" multiple> And PHP: #configuracoes base $config['upload_path'] = $diretorio; $config['allowed_types'] = 'gif|jpg|jpeg|png|...
asked by 27.04.2016 / 15:46
2
answers

Update with Codeigniter

I'm trying to update my database using codeigniter, but the update is not running. HTML: <?php echo form_open('Texto/alterarTexto', 'class="form-horizontal"'); ?> <fieldset> <legend>Novo texto</legend> <...
asked by 14.09.2015 / 16:50
1
answer

View routes in CodeIgniter

I downloaded a real estate script that was made with CodeIgniter , the problem is that I'm trying to see where the controllers and views is, since I went in the application/controllers folder and application/views a...
asked by 20.05.2015 / 07:09
2
answers

Selecting and displaying data with Ajax

I have the following ajax : var id = $('#idCliente').val(); $.ajax( { url:"/Administrar/chamadas/ajax/endereco/" + id, dataType : 'json', success:function(result) { $('[name^="cham_endereco[]"]').val(result.ender...
asked by 22.01.2016 / 13:22