- Thursday, February 2, 2017, 3:08
- CSS, How-to
Responsive sites are very important now a days. Because it ranks well in the search engines. Sometimes third party widgets like facebook like box and comment box can perform worst. In such case you need to write your own css to make facebook comment box responsive. Here is the css code to make facebook comment box responsive:
CSS to make Facebook comment box responsive
Please do ...
Full story
- Sunday, January 15, 2017, 8:53
- How-to, PHP
Searching is a usual and regular task in programming. Letters case sensitivity is a problematic in searching. Hence, both search string and array string should be converted into same case before searching. Otherwise searching would return the empty result. Here is how to do it:
As shown above, search string is converted into lowercase and all the items of an array are converted to ...
Full story
- Thursday, January 12, 2017, 6:02
- How-to
In this tutorial i am going to show how can we optimize the if else statement. This method can be used in any programming languages. I am going to show two different ways we can optimize the if else statement.
lets see default if else statement:
if( n % 2 == 0){
result = n + " is even number";
}else{
result ...
Full story