Makitweb Posts

Pagination on the page improves the user experience when there is a large number of records are available.

CodeIgniter has provided a library for effectively handle the pagination functionality.

In this tutorial, I am using the pagination library to create the paginated list of fetched result from MySQL database.

Make pagination with CodeIgniter Framework

PHP

AJAX Jquery PHP

You can allow multiple files selection by creating more than one file element but you can easily do this with just single file element.

It consumes less space and easy to handle but for this, you need to customize the element.

In this tutorial, I am using AngularJS and PHP to upload multiple files to the servers.

I am creating a custom directive to handle file selection in the AngularJS.

Multiple files upload with AngularJS and PHP

AJAX AngularJS PHP

jQuery UI datepicker by default show widget text content in English language but you can change it any other language easily.

For this, you need to load language script file on your web page and point it to the datepicker widget.

How to change language of jQuery UI datepicker

How To Jquery

It is not always mandatory that for submit form requires adding the submit button.

You can do this with any other elements e.g. checkbox, radio, select, etc. using Client side script.

In this quick tutorial, I show how you can use JavaScript and jQuery to submit element.

How to submit form with JavaScript and jQuery

Javascript Jquery

Handle session is very important when creating a member based website where the user needs to register and login to their account to access website content.

With the help of session, it is easier to identify the user and display the content accordingly.

In Codeigniter, require loading session library to start work with Session. There are inbuilt methods are available that makes easier to handle session operations.

How to handle session in Codeigniter

How To PHP

To prevent the same user login on multiple systems or web browsers you need to generate a token on each successful login attempt and store in the database table user wise.

Also, require using a SESSION variable to store the current token and check with the stored token in the database table.

If it not matched then log out the user.

Prevent multiple login of same account with PHP

PHP

AJAX Jquery PHP

jQuery is light weight JavaScript library which makes easier to use JavaScript on the web page.

You can perform your action in less code as compared to JavaScript.

This makes simpler to manipulate the HTML documents, traversing, event handling and performing AJAX request.

Compatible with most of the browsers and supports CSS3 selectors to find and style property manipulation.

How to embed jQuery into HTML page

 

Jquery

In WordPress plugin are the tools that use to extend the functionality of the site. You can either create your own plugin or use the existing one.

There are thousands of free and paid plugins are available for the WordPress.

You can easily manage it from the Admin dashboard.

In this tutorial, I am discussing various ways to install the WordPress plugin and I am assuming that you have successfully installed the WordPress.

Different ways to install WordPress plugin

How To