Makitweb Posts

Jquery PHP

You can send JavaScript Array as data in the AJAX request which generally require when need to send a group of related values e.g. pass all checked checkboxes values.

In the demonstration, I will initialize JavaScript Array with all checked checkboxes values and send it as AJAX data.

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 best and effective way to return data when you want to return multiple values as a response from AJAX.

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 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 signup or subscription form within website allows readers to subscribe to the email list and get updates on website activities on regular basis.

Readers only come to your website when they find relevant topics otherwise they wouldn’t come. By allowing subscription form readers may signup to your email list. By this way, they stay updated about your next new post and check out to your website for reading it.

In this tutorial, we going to add MailChimp signup form Widget within WordPress site. We will add it using with the plugin and without the plugin.

I am already using it on my blog, I added it the right sidebar. Within the form, I am using only Email field and signup button.

How to Add MailChimp signup form to WordPress

How To

In this tutorial, I will show another type of pagination which has Load more button for loading new content.

This type of pagination you have seen on many websites or in mobiles apps.

When the users get clicks the load button, the next list of data is being fetched and append it to the last of existing structure.

What in the demonstration?

For demonstration, purpose I am showing the list of posts when all posts are being displayed on the web page then show the Hide button instead of Load more.

Hiding all posts except the first 3 posts when the hide button gets clicked.

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

Drag and drop is a simple way to allow the users to upload their files by dropping to the container. Nowadays most websites allow uploading using both drag and drop and the file browse e.g. PushBullet, Facebook, SlideShare, etc.

I am using AJAX to save the file to the server which triggers when the file dropped on the target container.

In this tutorial, I show how you can implement the similar type of feature in your project and which show thumbnail when the file successfully uploaded.

Drag and drop file upload with jQuery and AJAX

AJAX Jquery PHP

This tutorial, guide how to you can verify your domain in Mailchimp. Whenever you try to send the newsletter with an email which contains domain name for example – newsletter@makitweb.com . In this…

How To

In this tutorial, I will show how you can use PHP to read RSS feeds of the websites and showing recent post lists using it.

RSS (Rich Site Summary) is a format which is used in many websites which allow web publisher to syndicates their latest posts or data automatically. It also benefits to people who want to receive latest posts updates from their favorite websites.

There is another method which allows the user to stay updated is bookmarking. But they need to manually go to websites on the timely basis and check what new have been added.

How to read RSS feeds using PHP

PHP