- Use <code /> tags
- Use <pre /> tags
- Use <code /> tags
- Use <pre /> tags
Notes with worthy tutorials
In blogger template, <data:post.body/> is the tag which prints out the full body of your post. This is important to know where this tag is to do things around post body. But the problem is, in some templates there can more than one <data:post.body/>. So how to find which one is the one that prints … Read more
We already know that we can get URL query string variable in $_GET super global array. But sometimes we might have to analyze a string which is an URL with query string and need to pull out value of a given variable from that. Also, it can be that we were given only the query … Read more
Well when you submit data using a form or anyway and the method is POST then you get the submitted data in a super global array called $_POST. But the data in the $_POST will be slightly modified by PHP that you sometimes, as per your requirement, may not be the exact same thing you … Read more
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
If you are using SyntaxHighlighter in your blog or website, then you might have noticed that you have to load the brushes you used in a post or page. The way you load them is generally by Linking specific brush scripts used on a given page or post, Or you load them statically by including … Read more
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
Google adsense serves 3 primary types of ads which are banner ads, text ads and link ads. Among these 3 types of ads, banner ads may include images, animated images, animation, video etc. different types of ads. As per google adsense guidelines, we are not allowed to modify the appearance of an ad. Also it … Read more
Google adsense is awesome in case of filling your ad spaces or responding to your ad requests. To do this google adsense has a very big inventory ready all the time. But google display ads from third-part ad networks too. And not of all of these ad networks are high paying ad networks. Some of … Read more
Google adsense serves ads from variety of categories, from fashion to sports, from movies to education etc. mostly based on the contents of the page on which the ad will be displayed. However, sometimes it shows ads from categories which are not related to content. These are the irrelevant ads and we can block those … Read more