Convert Number into words using PHP
In this article, we are going to learn to convert number into words using PHP. We have a PHP function which simply returns the word for the corresponding numeric value passed to it. PHP Function to convert number into words <?php function…
Create Custom Accordion using JQuery
Accordions are the special type of UI element belonging to Tab Type Category. You can use them to create sidebars, menus or for creating interactive pages with lengthy content . Accordions are useful when you want to toggle between hiding and showing…
Prevent Too Many Request From a Client using PHP
In certain scenarios, we might need to make sure that a client is not allowed to request a page for multiple number of times within a period of time. The following sample PHP code exits the execution when a client requests the same page more than once…
English to Hindi / English to Nepali Typing Using Google API
In this article, we are going to integrate Google Transliterate API to convert English text to corresponding text in other language like Hindi or Nepali. For this, we will need two files jsapi.js index.html index.html <script type="text/javascript"…
Calculate Age from Date of Birth (DOB) using PHP
We often need to calculate age of an individual based on his/her date of birth in normal web applications. The basic idea is to calculate the difference in days, months and years between current date and provided date of birth to calculate the age.…
Simple Password Strength Meter using CSS and JavaScript
User authentication and login are now an integral part of the web applications nowadays. Most sites or applications would ask user to sign up at first and then authenticate them with login credentials which will include a secret key commonly known as…
How to wrap text around image using HTML and CSS ?
Normally while designing webpage we will need to use images and text within. Sometimes, we also might need to wrap the text around the image as shown in the image above. In this article, we have provided HTML and CSS for wrapping the text around image.…
Flip/Animate Cards using JQuery
In this article, we are going to learn to flip card block in HTML using JQuery. We will be using JQuery and plugins including wow.js , sticky.js and slick.js in order to achieve this. Full Source Code : <script…
Get Youtube embed code from video URL using PHP
In this article, we are going to learn to create Youtube Video Embed code from Youtube Video URL using PHP. The following source code provides PHP functions to get Youtube video id from video URL and pass it to get the embed code eventually. …
Create Viber Share Button on Website
A business first step to run its service and let the consumers know about their presence is to do marketing and creating websites of their own. However, social media has become one of the basic needs of marketing and digitization. More than that, it is a…
PHP and jQuery – Crop Image and Upload using Croppie plugin
In this article, we are going to crop an image using jQuery Croppie plugin and upload the image via Ajax request in PHP. There are a number of options to customize including the output image size, shape and orientation. We will need to create two files…
Extract all Links from a Webpage using PHP
The following is a simple PHP script to extract all links from a webpage : <h1 style="text-align:center;">Extract All Links from a Webpage using PHP</h1> <hr> <?php function getAllLinks($url){ $urlData = file_get_contents($url); $dom…
Rotate Car Using JQuery
In this article we are going to learn to enable rotating a car using Jquery plugin. We will be using a number of car images and create a rotating effect with changing the pictures. View Output Here : https://www.carwale.com/ford-cars/freestyle/360-view/…
Generate User Avatar with Name using PHP
In computing, an avatar (also known as a profile picture or userpic) is a graphical representation of a user or the user’s character or persona. It may take either a two-dimensional form as an icon in Internet forums and other online communities or…