How to Pass Data with Ajax to a PHP file

In today’s tutorial, I’m going to show you, how to Pass Data with Ajax to a PHP file and process it. Using this method, you can retrieve data from a database, and run other PHP scripts using the values of the forms and fields.



How do I show some particular div after scroll 100 px?

jquery_scroll _divYou can achieve this by using javascript’s pageYOffset property to show the div after 100px of scroll.
The pageXOffset and pageYOffset properties returns the pixels the current document has been scrolled from the upper left corner of the window, horizontally and vertically.
The pageXOffset and pageYOffset properties are equal to the scrollX and scrollY properties. These properties are read-only.
Let us see the code:


How to Get Started With Python?

In this tutorial, you will learn to install and run Python on your computer. Once we do that, we will also write our first Python program.

Python Install

Many PCs and Macs will have python already installed.

PayPal Standard Payment Gateway Integration in PHP

PayPal is an American international e-commerce business allowing payments and money transfers to be made through the Internet. PayPal is the most popular payment gateway to send and receive payment worldwide. PayPal is a widely used payment gateway to accept payment in the web application. PayPal payment gateway is the easiest option for the web developer to implement a payment system on the website.



Python JSON

In this tutorial youll learn how to read and write JSON-encoded data using Python.
Youll see hands-on examples of working with Pythons built-in json module all the way up
to encoding and decoding custom objects.

python json

Python Datetime

In this article, you will learn to manipulate date and time in Python with the help of examples.
Python has a module named datetime to work with dates and times. Let’s create a few simple programs related to date and time before we dig deeper.

Python Dates

A date in Python is not a data type of its own, but we can import a module named datetime to work with dates as date objects.

Python Datetime


Python Objects and Class

In this article, you’ll learn about the core functionality of Python, Python objects and classes. You’ll learn what a class is, how to create it and use it in your program.

Classes and Objects - Python

Python Classes and Objects

Python is an object oriented programming language.

Almost everything in Python is an object, with its properties and methods.

A Class is like an object constructor, or a “blueprint” for creating objects.

Objects are an encapsulation of variables and functions into a single entity. Objects get their variables and functions from classes. Classes are essentially a template to create your objects.


Introduction to Python

What is Python?

Python is a high-level popular programming language, It was created by Guido van Rossum, and released in 1991.
It is used for:

  • web development (server-side),
  • software development,
  • mathematics,
  • system scripting.



Get User Current Location

In this article you will learn how to get visitor’s current location. For this, we are using the HTML5 Geolocation API. HTML5 Geolocation API is used to get visitor’s latitude and longitude and helps us to easily trace the visitor’s full address (location, city, district, state, pincode ), but this is possible only when the user click on the allow button to share their location.

Detecting Your Location With PHP

get user locationMost modern devices are capable of detecting their own location either through GPS, WiFi, or IP geolocation. Developers can use this information to provide better search suggestions, nearby store locations, and implement all kinds of useful map interactions in their apps and websites.

Load Data Dynamically on Page Scroll using jQuery and PHP

In this tutorial, we are going to see about loading data into a web page dynamically as the user scrolls it. We will be using jQuery and AJAX for the dynamic load on the scroll. Initially, we will show a limited number of results on page load. The subsequent bunch of records will be shown while scrolling down the page using jQuery AJAX event handler. This is an alternate solution for per-page navigation scenario.

scroll page load data