While debugging php code we might need to use print_r() or var_dump() functions with exit or die, as in following…
Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers…
Vim is a text editor written by Bram Moolenaar. Its based on the vi editor common to Unix-like system. Following…
You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site,…
Sometimes we require to execute complex query in symfony 1.2 with propel. For this following code can be used. $rowObj…
sometimes we have multiple checkbox fields in form and require to select all and deselect all. Following is code to…
Referrer method in symfony. This is very useful method and used to redirect back to sender page.
pik add command is used to register your installed ruby environments with pik. For example, I have Ruby 1.9.3, and…
Sometimes we require troubleshooting for joomla cms based website. For this it is useful to enable joomla debug mode by…