Perform AJAX using jQuery’s $.ajax() Function

AJAX is used to perform some operations in a background without loading entire page which is known as asynchronous operation. We can perform AJAX operation with normal JavaScript too. It’s syntax is large because each browsers are using different way for this specially Microsoft Internet Explorer. Therefor i am using jQuery’s $.ajax() function. The jQuery’s… | Click here to read more.

Using MySQLi in PHP as OOPS

With newer version PHP5.5 mysql_*() methods are deprecated. Normally most of developers are using this method for database operations. After PHP5.5 there are two options for performing database operations: Use MySQLi Use PDO PDO stands for PHP Data Objects. PDO allow us to use various different types of database with same syntax. PDO is suggested… | Click here to read more.

Using <meta> tag in HTML5

<Meta> tag is used to describe more details about web page. Using <meta> tag we can specify description, author, keywords etc. Search engines are usually use this details. Description When you search something in search engine you may notice that each link contains 2-3 line description about webpage. This description is specified by below snippet…. | Click here to read more.

Using MD5 for storing password in PHP and MySQL

Many people are store password directly on database. Due to which risk of misusing is increased. We mist need to perform certain operations on password before storing it, which is know as hashing or encryption of password. There are various range of hashing functions are available such as md5(), sha1(), crtyp(), hash(). In this article… | Click here to read more.

Create database user and assign it’s access to user in MySQL

If you want to create different users for your different database due to security reasons then this article is for you. In MySQL we can grant access/privileges of database to user as well as revoke or even delete user too. We can also assign full access to any user for any database by using below… | Click here to read more.

How to Minify files and Unminify files

Some times you got files which are Minified such as jquery.min.js or bootstrap.min.css. Here this .min refer minified version of file. If you are opened minified files then you may notice that minified files does not have any spaces, new lines, and even some time comments! It also replaces name of variables in case of… | Click here to read more.

Validation of input data using PHP

We must need to validate data before manipulating and performing operation on it. Most of websites contains client side validation however server side validation is important because client side validation may fail due to older verson of browser or disabled JavaScript. I am writing this post, in which include various tricks for validating different types… | Click here to read more.

Create HTML Try It using HTML and JavaScript

Certain time it’s really boring to update file through text editor and switch to browser reload page if not get proper output then switch back to editor! Instead of this you can use own custom HTML Try It like w3school’s. It’s pretty simple technique. You need to create one large textarea which contains your html… | Click here to read more.

Display loader while loading page using CSS & jQuery

In many situations you want to show loader to users while page is loading. After loading this page this loading icon/image should be gone away. You can use below snippet for this, in which i am using css animation for producing look of progress ring of windows 8. However you can use any image/icon. Add… | Click here to read more.