websourceblog

How to reset drupal admin password with sql-query?

Rest Drupal Admin Password To reset drupal admin password when you lost it and email notification could not work mostly…

10 years ago

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()…

10 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…

10 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…

10 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…

10 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,…

10 years ago

doSelectStmt in symfony 1.2

doSelectStmt in symfony 1.2

11 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…

11 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…

11 years ago

referer method in symfony.

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

11 years ago