Questions tagged as 'codeigniter'

0
answers

Problems submitting a multiple select in codeigniter in php

I have this select multiple in html that is without anything and add items at the click of a button. <div class="row"> <div class="form-group col-md-12"> <?php echo form_label('Para Vin...
asked by 31.10.2018 / 19:15
1
answer

Error validation Codeigniter

I'm trying to fix validation problems of my code, at first I did the test only with the label "Name", where it is required and can not contain numbers or characters, but is registering EVERYTHING. How can I fix it? Index Controller pub...
asked by 24.10.2018 / 02:10
0
answers

.htaccess and CODEIGNITER

I have the following .htaccess on my site: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.meusite.br/$1 [R,L] NOTE: It works perfectly across my site. And I have the following .htaccess in th...
asked by 22.10.2018 / 21:16
1
answer

Access Forbidden when copying and pasting new home.php

I have a project and it's all in English on the main page being "home.php", I can usually access it in local using "localhost / CoLWithGit", however, I need to do a Portuguese version of this page as well I made a copy of home.php and renamed it...
asked by 30.10.2018 / 19:39
0
answers

How do I display data coming from the model class in the system index automatically?

Would you like to display data from the system's schedule table when the user logs in? In other words, when you log in the system triggers the function in the Controller that calls the method in the Model Class that searches the database, retu...
asked by 11.10.2018 / 20:12
1
answer

How to bring data from another table related to a userid (JOIN ???)

I have the following tables: Users Andinvestments Theinvestmenttablehastheuserid.I'malreadygettingregistered.HowdoIshowonauser'sscreentheinvestmentsmadebyhim?I'malreadyabletoregisterandhavetheuseridrecordedrightaway.Myscreenwillbethisbelow,I...
asked by 12.10.2018 / 06:18
1
answer

Error The requested URL was not found on this server

Hello, I am currently a beginner in codeiginiter and need to deliver a project CRUD in college, so far I have connected to the bank, I have listed everything. But when I click on add new error occurs, I believe it is a configuration error .. So...
asked by 26.09.2018 / 05:54
0
answers

Image upload in codeigniter

I'm trying to make upload of two images into an existing script of codeigniter version 1.6.1 and the person does not want to update the version. I'm including some options for a person who requested, but I'm getting a...
asked by 01.10.2018 / 20:36
0
answers

How to not add end slash to list urls in codeigniter

Greetings, I'm trying to find a way to not add end slashes in urls to the listing, as in the case: virtualhost/blog/ -> virtualhost/blog I tried setting up a route for the index of my controller: $route['blog'] = 'blog/index'; Bu...
asked by 27.09.2018 / 13:50
0
answers

Is referencing any method of any Model in the View using Helper in Codeigniter a good practice?

Personal normally when I load a certain list in my controller and in cases that for each item in this list I need another set of data associated with it, in my view, when I go through the list obtained in the controller, I usually use helpers th...
asked by 25.09.2018 / 20:58