How to execute jquery change function on page load?

11 years ago

In following code change function will trigger on page load because of change() it at end of function. This change()…

How to show debug output in browser console in php?

11 years ago

While debugging php code we might need to use print_r() or var_dump() functions with exit or die, as in following…

How to get controller name and method name in codeigniter?

11 years ago

Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers…

Vim commands

11 years ago

Vim is a text editor written by Bram Moolenaar. Its based on the vi editor common to Unix-like system. Following…

How to hide notices and warnings in php?

11 years ago

You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site,…

doSelectStmt in symfony 1.2

11 years ago

doSelectStmt in symfony 1.2

Run custom query in symfony 1.2 with propel

11 years ago

Sometimes we require to execute complex query in symfony 1.2 with propel. For this following code can be used. $rowObj…

select all checkbox code in jquery

11 years ago

sometimes we have multiple checkbox fields in form and require to select all and deselect all. Following is code to…

referer method in symfony.

11 years ago

Referrer method in symfony. This is very useful method and used to redirect back to sender page.

How to register Ruby environments with pik?

11 years ago

pik add command is used to register your installed ruby environments with pik. For example, I have Ruby 1.9.3, and…