...
...

How to set dynamic route for slug in CodeIgniter ?

CodeIgniter, Tutorials | 09 January 2019

Codeigniter posts url are dynamic generated from database data, so it can’t define static route in the url. For that all dynamic routes define in route.php eith (:any) for any string in url.

View More

...

How to get last inserted id in CodeIgniter?

CodeIgniter, Tutorials | 08 January 2019

DB Class insert_id() method is used to get last insert id in codeIgnitor.

View More

...

How to add or load a model in Codeigniter?

CodeIgniter, Tutorials | 25 December 2018

In this Blog, we will learn that how can we load a model in codeigniter and how we can use method of model using controller.

View More

...

How to use session in CodeIgniter?

CodeIgniter, Tutorials | 18 December 2018

In CodeIgniter Session class allows you maintain a user’s “state” and track their activity while they are browsing your website.
In order to use session, you need to load Session class in your controller.

View More