web analytics

How to use Group Names in PHP preg_match() regex to index matched results by names instead of numeric values

Using regular expressions is a very effective way to find a sub-string or all matched sub-string from a given string or text. But when you call them they give you matched results in a array with numeric indexes which is not helpful enough to get your data out of the matched results. Following is the … Read more

What is Tree in Data Structure? Explain different types of trees.

Tree:  Data frequently contain a hierarchical relationship between various elements. The data structure which reflects this relationship is called a rooted tree graph or simply a tree. Among different types of data structures in practice, tree is very important to store and manipulate data with complex relationship. This is sometimes like the properties of an … Read more

How to experiment with ad units in google adsense.

Google adsense is my number 1 ad provider because of a lot of reasons like blocking inappropriate ad networks, blocking inappropriate ads, blocking low paying ad networks from serving ads,  customizing ad styles etc. and mostly this one. You can experiment with the ad units you use to publish ads. Experimenting ad units includes publishing … Read more