Skip to main content

Create Simple REST API with PHP & MySQL

In our previous tutorial, we have explained how to develop School Management System with PHP & MySQL. In this tutorial, we will explain how to Create Simple REST API with PHP & MySQL.

REST (Representational State Transfer) is a way to define the architectural style for creating web services. The REST API are created at the server side with GET, POST, PUT or DELETE HTTP requests to perform certain tasks. The HTTP requests like create, read, update or delete are made from the client side.

If you’re a PHP developer and looking for solution to create CRUD (create, read, update, delete) operations REST API, then you’re here at the right place. In our previous tutorial, you have learned to Create RESTful API using Python & MySQL. In this tutorial you will learn to how create CRUD operations REST API with PHP and MySQL.

We will cover this tutorial in easy steps with live demo to create simple REST API to perform read, create, update and delete records.

(more…)

Export Data to Excel in CodeIgniter with Example

In our previous Python tutorial, we have explained how to Create RESTful API using CodeIgniter. In this tutorial, we will explain how to Export Data to Excel using CodeIgniter with Example.

Data Export to Excel (xls or xlsx) format is a feature of web applications to allow users to save data from MySQL table into Excel format for further use.

If you’re PHP developer and looking for solution to implement data export to excel in CodeIgniter, then you’re here at right place.

In this post you will learn how to export dynamic data into Excel format using CodeIgniter. We will use PHP library PhpSpreadsheet to create and save dynamic Excel file to export and save data.

(more…)

Ajax CRUD Operation in CodeIgniter with Example

CRUD (Create, Read, Update, Delete) is a common part of any dynamic web application. We generally add new records into database or display records from database and then perform further operations like update, delete on same records.

So if you’re developing web applications using CodeIgniter then you have certainly handled CRUD operations in your application. But its not very user friendly if you have handled this with pure CodeIgniter because it loads page every time when you perform actions.

So here in this tutorial, we have handled CRUD operations using Ajax with CodeIgniter. You would also like to checkout tutorial about Multiple Image Upload in CodeIgniter with example.

We will cover this tutorial in easy steps with live example with ajax CRUD operations in CodeIgniter.

So let’s start.

ajax CRUD operations in CodeIgniter (more…)

How to Create SEO Friendly URL in WordPress

In our previous article, we have explained how to Start a WordPress Blog. In this article, we have explained how to Create SEO Friendly URL in WordPress website.

Search engine optimization (SEO) is an essential part of any website to increase traffic. The SEO has many factors and URL structure is one of the main factor. The short and human readable URLs are important for any website to increase search engine ranking and also easy to remember.

If you’re running website on WordPress or just started a WordPress blog, then it’s very simple to create SEO friendly URLs in WordPress.

Also, read:

So here in this article, you will learn how to create SEO friendly URLs structure in WordPress. You will also learn
what is SEO URL is and how to create custom SEO URLs in WordPress.

(more…)

Form Validation in CodeIgniter with Example

The Form fields validation is an essential part of any web application to validate input values before storing into database. The Form input validated when form submitted.

If you’re working with CodeIgniter framework and created Forms and wants to add validation to form inputs, then its very easy. CodeIgniter framework has form validation library form_validation to validate various form fields.

So here in this tutorial, you will learn how to implement Form Validation in CodeIgniter.

We will cover this tutorial in easy steps with live demo. There are also a download link at the end of tutorial to download source code of live demo.

Form Validation in CodeIgniter (more…)

The Best PHP Frameworks in 2024

In our previous article, we have discussed Best CSS Frameworks in 2024. In this article, we will discuss about best PHP Framework in 2024.

PHP is the most popular server side programming language. With the popularity, many PHP Frameworks came in existence to help developers to develop large, complex and secure web applications in less time.

PHP frameworks that’s uses MVC pattern, becomes popular among developers as it provided structured platform and helps to write more structured and secure code.

With the increasing numbers of frameworks and its popularity, its become difficult for the developers to choose the most suitable framework for their projects. As we checks features like performance, built in functionality, documentation etc. to choose the right PHP framework for the projects.

So here in this article, we will take a look on major features of the top PHP frameworks for 2024 to choose right one for the next project. 

(more…)