Monthly Archives: July 2009

Highlight current element using javascript

Adding dyamic current link style using javascript. It makes easy to view where we are in website. I’m talking about when you are at home and home looks different from others. How can one achieve that without even using server … Continue reading

Posted in Featured, Javascript Tagged

PHP comment style

There are three ways of PHP commenting… #some single line comment in php //Another way of single line commenting in php   /* some multiline commenting */

Posted in Newbie, PHP

Ending tags of php – leave or not

To end the php code we can use <? , In fact it is just optional and we should leave it when we are following OOP. This helps us to remove unwanted whitespaces. This is the core rule of Codeigniter … Continue reading

Posted in Featured, Newbie, PHP Tagged , ,