Setup Maintenance Mode in CodeIgniter


Maintenance mode helps to improve user experience by showing a notification when the site is going through maintenance. When the web application needs an update, it's always a good idea to display a well-designed maintenance page instead of showing error on the website. CodeIgniter's Hooks feature provides an ability to implement maintenance mode functionality in CodeIgniter.

Read Full →

Pagination in CodeIgniter


Pagination is the most required feature in the web application. Generally, pagination is useful when data is retrieved from the database and listed in the web page. Pagination in data list is mandatory when you need to list the huge data. If your web application built with CodeIgniter framework, it's very easy to implement pagination in the data list. CodeIgniter provides Pagination class to create pagination links for the results set.

Read Full →

CodeIgniter RESTful Web Services


RESTful web service uses HTTP request to GET, PUT, POST and DELETE data across platforms. In present days, RESTful API is an essential component of the web application. When the CodeIgniter application requires communicating with another application, RESTful API is needed to integrate into CodeIgniter. Using RESTful API in CodeIgniter, you can exchange data between different applications.

Read Full →

CodeIgniter CRUD Operations with MySQL


CRUD operations are the most required functionality for every CodeIgniter application. CRUD operations are commonly used to manipulate data in the database. It helps to implement Add, Edit, Update and Delete functionality in CodeIgniter framework. This tutorial will show you how to create a simple CRUD application in CodeIgniter with MySQL to perform create (insert), read (select), update, and delete operations.

Read Full →

How to Connect Multiple Database in CodeIgniter

connect-use-multiple-database -codeigniter-codexworld

Generally, one database is used for a single web application. But sometimes we need to use two or more database in a single site. If your application built with CodeIgniter framework, it's very easy to use multiple databases. CodeIgniter provides an easy way to connect and use multiple databases on the same or different server. Only some minimal configuration needed to connect to more than one database in CodeIgniter.

Read Full →

How to Generate SEO Friendly URL in CodeIgniter


SEO friendly URL structure is a common technique for search engine optimization. The SEO friendly URL holds the keywords which help to improve the search engine ranking. It always a good idea to make website's URL SEO friendly for getting more traffic from search engines. If your website built with CodeIgniter and you want to create SEO friendly URL for the dynamic contents of the website, there is an easy way for that.

Read Full →

Login with LinkedIn in CodeIgniter


Login with LinkedIn feature makes web login system completed. It provides an easy and quick way to sign in to the web application without creating an account on that web application. Using LinkedIn login, the users can log into your website with their LinkedIn account without register in your website. This tutorial will show you how to integrate LinkedIn login system in CodeIgniter.

Read Full →

Sending Email via SMTP Server in CodeIgniter


Using SMTP server is always a good idea to send email from the script. Sometimes PHP mail() function fails to send the email to the recipient or deliver email to the spam folder. To avoid this issue SMTP is an effective way to send an email. CodeIgniter Email Class provides an easy way to send email from the PHP script. Also, you can send the email via SMTP server using CodeIgniter Email library.

Read Full →

Login with Twitter in CodeIgniter

Twitter login in CodeIgniter surely helps to make login process smoother for the user. The main facility of Twitter login is the user does not need to create an account for log in your website. They can log into your website with their Twitter account. Also, you can get the user profile details from Twitter when they login with Twitter. This tutorial will show you how to integrate Twitter login in CodeIgniter using Twitter OAuth PHP library.

Read Full →