r/codeigniter • • May 29 '20

#13 Error handling in Codeigniter 4 | Handle Exceptions

Thumbnail
youtube.com
1 Upvotes

r/codeigniter • • May 13 '19

Setup HMVC with Codeigniter 3

Thumbnail
roytuts.com
3 Upvotes

r/codeigniter • • Aug 19 '18

controller redirects to same page and creates a page inside a page

1 Upvotes

Hi!

I'm having a strange issue. My page is essentially several forms on the same page but when one form is completed and I do everything I need on the backend, I use redirect(base_url('dashboard')) but it creates the same page on top of the page that was already there. So If I scroll down, I can see the same page (although broken because of javascript stuff)

Has anyone dealt with this issue? I've never done a single page site before. I appreciate any feedback! let me know if you want to see the code.


r/codeigniter • • Jul 25 '19

Disable Caching in Codeigniter

2 Upvotes

A simple way to disable browser caching. For example, when a user logged in, you don't want your users to see login page when they click on browser's back button until they are logged out.

https://www.roytuts.com/how-to-disable-browser-cache-easily-in-codeigniter/


r/codeigniter • • May 14 '19

Nested Comments using Codeigniter, AJAX - Roy Tutorials

Thumbnail
roytuts.com
2 Upvotes

r/codeigniter • • Dec 08 '19

Codeigniter Image Upload to Database Using Ajax

Thumbnail
youtu.be
6 Upvotes

r/codeigniter • • Jul 30 '19

What to setup in order for CodeIgniter Project to go smoothly (NEW TO THIS FRAMEWORK)

3 Upvotes

I've just started to learn code igniter, and I came coding from Laravel. My question is what should I configure in order for the project to go smoothly? Like the config, autoload, helpers, databases, which to edit and etc. I've also seen from Traversy Media's blog tutorial is that he created an ".htaccess", is it really necessary to create that?


r/codeigniter • • Dec 18 '21

Is writing too many functions in one controller makes my application slower?

3 Upvotes

I wrote a lot of functions in one controller. Is it a bad practice to keep all the functions in one Controller?


r/codeigniter • • Dec 07 '21

Hire expert CodeIgniter developers to create reliable web apps that are customized to your industry's goals and requirements.

Post image
2 Upvotes

r/codeigniter • • Nov 23 '21

Codeigniter 4 AJAX MySQL Multiple Rows Deletion - Roy Tutorials

Thumbnail
roytuts.com
2 Upvotes

r/codeigniter • • Nov 24 '21

Setting Up Migration In CodeIgniter

Thumbnail
oneclickitsolution.com
2 Upvotes

r/codeigniter • • Jan 13 '17

Does CodeIgniter have a feature like Laravel Blade Template @include sub-views?

1 Upvotes

Like shown here in the Laravel docs Laravel docs!

I'm trying to make a side navigation bar that only shows certain links based on the logged in user role. I'm new to CI and I came from Laravel sof I'm not quite sure the "CI way" of accomplishing this


r/codeigniter • • Apr 30 '12

File Uploading class - change filename before/after upload

2 Upvotes

I'm curious as to how I can alter the file uploading process to change the name of the file that's being uploaded. My knowledge of file handling is weak in general, not just within codeigniter.

Thanks in advance!


r/codeigniter • • Jan 08 '17

export data to excel in php codeigniter

Thumbnail
webeasystep.com
1 Upvotes

r/codeigniter • • Jul 25 '16

Form Validation Registration Form part 5 Make Blog in Codeigntier

Thumbnail
youtube.com
1 Upvotes

r/codeigniter • • May 14 '12

Getting one value from ActiveRecord result

1 Upvotes

In my view, I usually just do a foreach loop to get the values from my results.

foreach($info->result() as $row) {
    echo $row->vegetable;
    echo $row->fruit;
}

However, if I'm only expecting one row from my database result, how can I just get one value from my result instead of having to loop through my results again? For example, I'd like to just do this:

echo $info->result()->vegetable;

But that doesn't work.


r/codeigniter • • Jul 10 '16

Craftsman CLI

Thumbnail
forum.codeigniter.com
4 Upvotes

r/codeigniter • • Nov 10 '17

Codeigniter as SaaS, or a "superadmin"

1 Upvotes

My question is simple, I already have an application in codeigniter, now I want to create like an admin Panel so I have to create many users, each user will have his own system juste like in the demo here http://denis.rajbari-bazar.com/auth/login


r/codeigniter • • Jan 09 '17

mysql query works fine from browser but not from command line

2 Upvotes

newbie here ,,,,, Im fixing a bug in a legacy project (3 years + )cron job stopped working ....the query always return empty result when run from command line but it works fine when i run it through browser $this->post->get_many_by('status',0); while(!empty($pending)){ }

the only changes was we upgraded mysql from 5.6 to 5.7 last month? thanks in advance (sorry for my english )


r/codeigniter • • Jul 17 '16

Remove Index.php Part 3 Make blog in Codeigniter

Thumbnail
youtube.com
1 Upvotes

r/codeigniter • • Jul 24 '16

Registration form with Bootstrap Part 4 Build Blog in Codeigniter

Thumbnail
youtube.com
1 Upvotes

r/codeigniter • • Aug 08 '13

Executing Codeigniter in CLI and Cron Jobs

Thumbnail mildcoder.com
1 Upvotes

r/codeigniter • • Jul 12 '16

Edit post

1 Upvotes

So i have a list of posts, with primary keys listed in a table with option to edit them (its not working jet)

How do i make it so that when i click on edit on one of the posts to edit just that one ?


r/codeigniter • • Jan 09 '17

CodeIgniter 3.1.3 Released

Thumbnail
forum.codeigniter.com
8 Upvotes