Author: <span class="vcard">Yogesh Singh</span>

JQuery PHP

An Array is used to store multiple values in a single variable.

This can be used to pass the group of related values as data to the $.ajax for processing and get the response.

E.g. pass all checked checkboxes values, selected values from the list.

In this tutorial, I show how you can pass JavaScript Array to an AJAX request with an example.

How to Send JavaScript Array to the AJAX using jQuery and PHP

AJAX JQuery PHP

JSON stands for JavaScript Object Notation, it is a data interchange format which is also been used to passing data from the server.

It is the best and effective way when need to return multiple values as a response from the PHP script to the jQuery.

You couldn’t directly return an array from AJAX, it must have converted in the valid format.

In this case, you can either use XML or JSON format.

In the tutorial demonstration, I will return an array of users from AJAX, while return converts the array into JSON format using the json_encode() function in the PHP.

On the basis of response show data in tabular format.

Return JSON response from AJAX using jQuery and PHP

AJAX DataBase JQuery PHP

MailChimp is one of most popular email marketing service, it is used by many webmasters or bloggers to send an email update to their audience.

Adding subscription or signup form within the website allows readers to subscribe to the email list and get updates of website activities on regular basis.

In this tutorial, I will show how you can add MailChimp signup form with or without a plugin on your WordPress site.

How to Add MailChimp signup form to WordPress

How To WordPress

You can use single load more button on your webpage to paginate the list of records.

This type of pagination is very common on the website or in mobile apps.

The user needs to click on the load more button whenever the need to view more items.

After the click, the data will append with the existing list items.

In this tutorial, I am creating the similar type of functionality using jQuery and AJAX.

Load more results with jQuery,AJAX, and PHP

AJAX JQuery PHP

The ng-show and hide directives are used to show or hide the HTML element according to the condition. This is useful while creating an AngularJS application.

In jQuery, it is done with show() and hide() methods or with css() method.

ng-show and hide directives in AngularJS

AngularJS

In HTML you cannot embed one HTML page within another HTML page. In PHP, there is include or require statement for it which takes the file name as a parameter and embed the file at the specified location.

Similarly, in AngularJS there is the ng-include directive that allows us to embed existing HTML pages within another HTML page.

How to use ng-include Directive in AngularJS

AngularJS