All Questions
Tagged with frameworks codeigniter
292
questions
1
vote
0
answers
223
views
Codeigniter 4 : Model vs Entity Classes
In the Codeigniter documentation:
In the Data Modeling section, there are two options:
Using Models
Using Entity Classes
I can't quite understand the role of each of these things, such as when to ...
2
votes
3
answers
1k
views
CodeIgniter 4 config files for different environments
I'm setting up a prototype application in CodeIgniter 4 and I'm totally puzzled when it comes to having different configurations for different environments. I have the concept of having different ...
0
votes
1
answer
556
views
How to include a file, inside subdirectory in Codeigniter 4 Views
I want include a file. I know I can include a file if the file is in same directory, for example
.
├── about.php
├── admin
│ ├── customer.php
│ ├── detailorder.php
│ ├── footer.php
│ ├── ...
0
votes
1
answer
246
views
code igniter 4 php form insert for database
Im having troubles on how to push trough or save the data in the forms for the user to put in. Im kinda new to this framework and the tutorials or documentations from the framework itself is not that ...
0
votes
0
answers
42
views
Cannot redirect to another route inside html view file codeigniter
<?php
$checkNotNull = checkNotNull($user_detail->user_id);
$logged_data = $this->session->userdata('logged');
if(!$checkNotNull && $logged_data['status'] == 1){
header("...
0
votes
0
answers
64
views
why use function_exist for every function in CI?
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('test_method'))
{
function test_method($var = '')
{
return $var;
}
}
this ...
0
votes
1
answer
142
views
How should I organize my file structure in CodeIgniter4 to save memory?
In my CodeIgniter4 codebase, I currently have a handful of files that I have set up as Libraries that include functions that perform wide-ranging purposes and are generally related to specific tables ...
1
vote
0
answers
227
views
Some images cannot be uploaded into codeigniter site
I am developing a website for my university project. I have to upload some images to the site. SO I used below mentioned code. Few images cannot be uploaded to the website. I don't know the reason. ...
0
votes
1
answer
312
views
Why codeigniter stopped working suddenly in server
I have a codeigniter framework website and it was working fine for last 6 months.
Before two days the website is not loading. Sometimes it shows blank white screen or 503 error.
what will be the ...
1
vote
2
answers
255
views
insert url parameter in mysql with codeigniter
I need your help!
I am new to codeigniter and I am trying to pass a fetch parameter from url, get me the value using the following
My example url is the following: http://localhost/infocargacasosfinal/...
0
votes
2
answers
50
views
Codeigniter dropdown list repeating
There a few schools under HQ and same things goes to franchise. I want to create a dropdown list when I click "Centre" to create new data, it will also create a new data for the all schools ...
1
vote
0
answers
99
views
Codeigniter 4 Autogenerated File In System Folder
I'm curious about the auto generated file in System folder. It's always generated automatically when I reload my web browser and if I open one of that file, that file contains HTML code similar like ...
0
votes
2
answers
42
views
Unable to set a initial page in php codeigniter
I'm new in php codeigniter, i need to modify a project but i cant set the base url it redirects me to an external url and i can't edit anything in the project.
for example if I enter the project path, ...
0
votes
1
answer
92
views
include function in codeigniter
Recently I have started learning codeigniter framework. I am facing a problem in including files from another folder. In my view folder, i have two folders named patient and includes. This is like ...
1
vote
1
answer
184
views
Unable to upload image in codigniter, getting an wrong path error
I'm working on a project where I was trying to upload image by using jquery ajax + codeigniter.
Don't know why I'm getting following issue:
Error:
The upload path does not appear to be valid.
Is ...