Questions tagged as 'codeigniter'

1
answer

Update / Synchronize Project in Codeigniter

I am developing a web system in codeigniter and will have a link to update the project version when you have an update. That is, the client will access the system, a message will appear warning that there are pending updates, the user clicks on...
asked by 18.10.2017 / 18:16
1
answer

Multiplus domain with Codeigniter

I have a hosting with two domains, domain1.com and domain2.com. As Codeigniter is at the root of hosting, how do I, when I access the domain1.com it takes the contents of the site1 folder and displays, and do the same thing in domain2.com and...
asked by 19.10.2016 / 16:29
1
answer

Contributors in codeigniter with DB data

Good afternoon I need to get some settings for my site that comes from a table in the database, currently I use variable more then all the time have to be going there in the bank to pick up, I think this may leave my application slow can not ?...
asked by 09.07.2015 / 22:34
2
answers

With "echo" works and with "return" no

I have a function and it checks if the given ID has more than 6 records in the database. If it does, then it picks up, makes a select to return those 6 records and plays in an array and performs the same function, that is, recursive function. If...
asked by 15.10.2016 / 07:04
2
answers

Error query php / codeigniter

I am using the code below to query the database, but it is giving the following error:    PHP Error was encountered   Severity: Notice   Message: Undefined property: Admin :: $ db   Filename: core / Model.php   Line Number: 51       Fatal e...
asked by 10.03.2014 / 21:33
1
answer

get data with PHP + codeigniter when clicking a button

Good afternoon people are following a question I have a list as below: Clickinghistoryisdirectedtothispage: ThispageisshowingallthecommentsmadeforthecustomertoovercomeByclickingonnewcommentI'mdirectedtothispage: Notice that on the page...
asked by 24.01.2017 / 19:10
2
answers

Problem on date: 1919/1010/2018181818 03:15:16 PM

It's all right but when it comes to displaying or saving the date on the database, it's getting like this 1919/1010/2018181818 03:15:16 PM ... I do not know what problem, or if I messed up somewhere. Does anyone know why this is ?? you can see t...
asked by 19.10.2018 / 20:16
2
answers

Authentication using CodeIgniter

I'm starting to use codeigniter, and I have a question. In the view, I have 2 forms, one for login and one for registration: <form id="login" method="post"> <legend>Login</legend> <p><label>email:</l...
asked by 28.12.2015 / 16:11
1
answer

Why is my ajax request not working? [closed]

<script type="text/javascript"> $('#enviar').click(function(){ $.ajax({ type: 'post', data: '', url:'<?php echo base_url('admin/salvar_produto'); ?>',...
asked by 23.02.2017 / 17:55
1
answer

Write input file names in xml

I would like to write files from an input into an xml document public function do_upload() { $this->load->library('upload'); $len = count($_FILES['files']['name']); $nomes = array(); for($i = 0; $i < $len;...
asked by 08.01.2015 / 16:37