websourceblog

How to execute jquery change function on page load?

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

12 years ago

How to show debug output in browser console in php?

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

12 years ago

How to get controller name and method name in codeigniter?

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

12 years ago

Vim commands

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

12 years ago

How to hide notices and warnings in php?

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

12 years ago

doSelectStmt in symfony 1.2

doSelectStmt in symfony 1.2

13 years ago

Run custom query in symfony 1.2 with propel

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

13 years ago

select all checkbox code in jquery

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

13 years ago

referer method in symfony.

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

13 years ago

How to register Ruby environments with pik?

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

13 years ago