Category: PHP

Using Pagination you can divide the huge list of data in multiple parts or pages. The user only able to see specific numbers of records and need to navigate for viewing another list of records.

In the demonstration, I am creating a table structure which shows the list of records. Adding AJAX pagination which has a previous and next button for navigation.

Ajax Pagination with jQuery and PHP

AJAX Jquery PHP

If you allowing the user to login with their username and password then you have to make sure that every user has the unique username.

When the user goes for registration on your site check username either after form submitting or check it with AJAX while entering.

In this tutorial, I am using Jquery AJAX to check username is available or not.

Check username availability with jQuery and AJAX

AJAX Jquery PHP

All programming language have decision-making statements which allow us to control the flow of the program.

You can define what code to be executed when the condition is TRUE and when it’s FALSE.

PHP decision making and switch statements

PHP

PHP

We can easily embed a PHP script within HTML file, by using PHP tag. It is very useful when you are creating a dynamic application, where you are generating data…

PHP

Variables are “containers” for storing information, which have a user-defined name. Using variables we can store some information and use later within the program. In PHP we don’t need to…

PHP

A comment in PHP code is a line that is not read/executed as part of the program. Its only purpose is to be read by someone who is editing the…

PHP