Blog – Masonry

PHP

How to find the position of the first occurrence of a substring in a string in php?

In PHP, the iconv_strpos() function is used to read the first character from a given string. It finds the position of the first occurrence of a character in a string. It is an inbuilt function in PHP.

PHP

How to find the last occurrence of a needle within a haystack in php?

In PHP, the iconv_strrpos() function is used to findsthe last occurrence of a needle within a haystack.

How to get the width of an element using jQuery?

In this post, we will show how to get the width of an element using jQuery, using the width() method.

How to set the content of a textarea using jQuery?

In this post, we will show you set the content of a textarea using jQuery.

CSS, PHP

How to enable or disable nested checkboxes in jQuery ?

In this article, we will see how to enable or disable nested checkboxes in jQuery. To do that, we select all child checkboxes and add disabled attributes to them with the help of the attr() method in jQuery so that all checkboxes will be disabled.

CSS

How to double layered text effect using css?

In this post, we will show you how to double layered text effect using CSS.

How to create a 3D text effect using html and css?

The 3D text effect is one of the most used text effects in the web design world. Today we will be looking at one of the simplest and easy methods to create our text in a 3D look.

What is the difference between json and xml?

In this article, we are going to see difference between JSON and XML.

PHP

How to convert json file into csv in php?

In this article, we are going to see how to convert JSON data into a CSV file using PHP.