How to check if string contains a specific word using PHP

Sometimes, We need to filter a particular word from string to check if a string has any abusing word that can hurt your readers...

How to check if specific input file is empty or not

Today, I am going to share a very small tutorial with you guys about how to check if the specific file input field is...

check if remote file URL exists or not using PHP

If you are using CDN or your image or other files are hosted with another server and you are calling them into your source...

Send a file using CURL with PHP via POST method

Recently, i was working on a project where i needed to send a file using CURL to a third party web server and i...

Import MySQL database using command line

If you are planning to import MySQL database using command line then you are at correct place. In this post, i have covered step...

Get domain name from URL in PHP

Hello guys, today I am going to tell you a small tip about 'How to get a domain name from URL in PHP'. In...

Get domain name from email using PHP

Recently, I was developing a project for my client, there was a specific requirement of client that user should not opt in with free...

Add active class in wordpress menu

I have found tons of queries on discussion forums about 'How to add active class in WordPress menu' seems much popular. I also have...

How to get user meta information in WordPress

Hello Friends, after a long break, I am back once again. Today I am going to share with you a very simple but useful...

Alternate odd even table row in jQuery

We can add alternate odd even table row in jQuery, by using CSS3 pseudo element classes and some lines of jQuery codes. That will...

Remove elements from array using PHP

Hello friends, today i am going to tell you about how to remove elements from array using PHP. Although, this is not a complete...

Simple ahref mailto syntax in html

The HTML mailto protocol allows you to make a hyperlink that will open your default email software and enables you to send messages to...

How to assign a group to user programmatically in magento

Sometimes, we need to create an observer to assign a group to user programatically. Because there is no rule available in Magento to change...

Remove ‘?m=1’ parameter from page url in .htaccess

While moving a website from blogger to Wordpress, we face this issue because blogger adds an extra parameter in url in a mobile version....

JQuery expand and hide table tr td

Expanding and hiding table tr td in jQuery is not very tough job. You can make this happen with just a some lines of...

How to add or remove class dynamically in jQuery

jQuery contains two classes addClass() and removeClass(). By using these classes we can add or remove classes dynamically. addClass() function used to add class...

How to get selected checkbox values in jQuery

Getting all selected checkbox values in the query is very easy. With below example, you can get all selected checkbox's value in comma separated....

How to add mobile number validation in magento

To validate a mobile number in checkout page or in any other templates, find the mobile number field and add below classes in the...

Get category id from product in Magento

As we all know, that a product can be associated with multiple categories and a category can also be associated with multiple products. So...

Creating Skype call/chat HTML link

Now days, it's very popular adding a Skype call button on websites. So that today, I am going to share with you a simple...