php

Recent Post

How to connect database in Codeigniter 4

How to connect database in Codeigniter 4

Connect your database with your Codeigniter 4 application is different from Codeigniter 3. In Codeigniter 3, we always connect our database by just adding the username, password, and database name. That’s it, but in CodeIgniter 4, you have to take some extra steps to connect the database with our application. Step 1: Download the Codeigniter…

Download and install the composer in windows

Download and install the composer in windows

While working on the project, it’s hard to download the packages/dependencies or required libraries, and if you are working on PHP, then it’s tough to manage your dependencies. Before starting, let me introduce your new friend, the Composer, Composer is a manager, or we can say it a dependency manager that provides the standard to…

404 not found in codeIgniter

404 not found in codeIgniter

When a user is accessing a link that is not available on your system, your server responds 404 not found, but why users see this error every broken link. You can show them some custom error messages like Page not found or a picture; you can also give a search area when your user is…

How to create pagination using codeigniter

How to create pagination using codeigniter

What is Pagination..? If you have a lot of content to show on a single page, it’s impossible to explain thousands of blogs/products on a single page, so you ultimately forced to divide them into multiple pages. If you have a lot of content to show on a single page, it’s impossible to show thousands of blogs/products…