Questions tagged as 'codeigniter'

0
answers

Integrating XAJAX library with Codeigniter [closed]

Good evening, today I program with the XAJAX library on all my systems, but I program in pure php without frameworks. From a few days ago I started to study the Codeigniter framework and I'm seriously thinking of starting to use...
asked by 08.09.2014 / 00:24
0
answers

How to configure the correct Codeigniter session in the current version of it? [closed]

Well, to be more specific, my problem with Codeigniter sessions started to occur after I changed my Xampp to a more current version (v.7 ...). When it comes to code / project I did not do it if you want some change, what could it be?     
asked by 10.11.2017 / 20:26
1
answer

Problem inserting file name into database

I'm uploading files with plupload using codeigniter. My problem is when there are special characters in the file name. Being that I have to record this original name. When there is for example: 'copy' is saved in the database: 'copy' Every...
asked by 10.02.2015 / 13:10
2
answers

Add data in array () in PHP

I'm developing a cart in PHP, however, when adding items to the array, I'm not getting it, I've tried it as follows: if($this->session->userdata('cart')==true){ if(count($this->session->userdata('cart'))==0){ $i = 0;...
asked by 10.12.2018 / 20:14
3
answers

Group by age group

Good evening, I have to group and count how many employees I have with gender and age group. Follow the html code <div class="card" style="margin-top: 5%;"> <div class="card-header text-center"> Quantificação de...
asked by 21.12.2018 / 03:02
2
answers

Error accessing Model Codeigniter

I've checked and all my calls are correct. The code ran on Windows and transferred it to Ubuntu. After the download gives this error:    An Error Was Encountered       Unable to locate the model you have specified: crudmodel The model in...
asked by 06.02.2014 / 13:56
1
answer

php codeIgniter: syntax error, unexpected '['

The php codeIgniter application, which runs on windows, when ported to the server gives the following error:    Parse error: syntax error, unexpected '[' in /home/givix/domains/givix.com.br/public_html/givix/application/libraries/Amazon3integ...
asked by 01.09.2016 / 03:12
1
answer

Do not insert equal data into the database

I'm getting data from an XML, converting it to array and inserting it into the database. But I only need results that do not exist yet. Below is my code, I have tried in many other ways, none with a good result. In the code below alway...
asked by 07.03.2014 / 21:55
3
answers

Handling foreign key errors in Codeigniter

I'm implementing a code where you have a foreign key in two tables. I have already tried different media and can not handle the error: Error Number: 1451 Cannot delete or update a parent row: a foreign key constraint fails ('base'.'tableus',...
asked by 09.02.2017 / 22:32
1
answer

Global Variable - codeigniter

Hello I want to display a data ($ variable) in a footer. As it is below, it works and the $operador variable is displayed correctly on all the options / screens I click. <?php $operador = $this->session->userdata('nome');...
asked by 28.10.2016 / 21:03