Questions tagged as 'codeigniter'

1
answer

CodeIgniter form_open_multipart, how to use

I'm using CodeIgniter in a project but I'm having a hard time sending information, I have a view that contains a form with the registration fields:                              <?php echo form_open_multipart('Contro...
asked by 26.11.2018 / 12:51
3
answers

superglobal validation

I'm developing a class to support multiple uploads using the Codeigniter framework and I've decided to parse my code using some online tools. One of these was code climate ; I noticed that when checking the reports for code improvement it...
asked by 09.08.2016 / 16:04
2
answers

How to use "include / require" in CodeIgniter in the right way?

I'm migrating from PHP to CodeIgniter , and would like to know how to use include or require right in my code?     
asked by 04.03.2017 / 05:03
2
answers

Good practices Codeigniter

I see several programmers call all views to build a page in the example controller: $this->load->view('head',$var); $this->load->view('home'); $this->load->view('script'); $this->load->view('fim_html'); <html>...
asked by 27.10.2016 / 11:53
2
answers

How do I find the current version of codeigniter?

How can I do to find out the current version of Codeigniter via code? Is there a constant or function that does this?     
asked by 16.01.2017 / 13:02
1
answer

regex to replace the $ _POST ['field'] string with $ this-input-post ('field') of codeigniter

I am trying to find a way to replace the $_POST['INPUT'] by $this->input->post('INPUT') of codeigniter , in my editor phpstorm , using replace with the regex option enabled. > So what's in quotation marks that is the na...
asked by 01.06.2017 / 17:30
2
answers

How do I insure the value of a POST between pagination in CodeIgniter?

I have a form element with a select and a submit (filter). The data is filtered, the page is reloaded and the data is presented in a table. To see all the data, it goes through more than one page in the table (pagination). However...
asked by 20.03.2014 / 15:48
1
answer

form_validation Codeigniter using GET

Is it possible to validate an input of a form using the GET method? When I define the form's method is POST the form_validation works but when I define it's GET the validation returns me false. The code is basically this: HTML <form me...
asked by 19.05.2016 / 00:12
2
answers

CodeIgniter - Friendly URL

I'm trying to use the CodeIgnoter framework. but I can not get past this: http://localhost:8087/CodeIgniter/index.php/usuario/home for this: http://localhost:8087/CodeIgniter/usuario/home It always appears: The requested URL /CodeIgn...
asked by 18.09.2015 / 04:54
2
answers

Show result of a query in html - PHP + CodeIgniter.

Hello, I am trying to make an example in codeIgniter where I want to display data from the database in html forms. This is my query: $id_entidade = $this->session->userdata('id_entidade'); $query = $this->db->query("SELE...
asked by 04.08.2016 / 00:55