Author: websourceblog

0

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 will have result of your given query. You can check it via var_dump or...

How to register Ruby environments with pik? 1

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 2.0.0 installed on my windows, so I used the following in a Command Prompt:...

How to enable debug mode in joomla? 0

How to enable debug mode in joomla?

Sometimes we require troubleshooting for joomla cms based website. For this it is useful to enable joomla debug mode by enabling it website will be in debug mode. Enabling the debug mode allows you...

Install imagick php extension 0

array_reverse in PHP

array_reverse is one of array functions in php. It takes an input array and returns a new array with the order of the elements reversed. It can take two parameters first is array that...

0

jQuery addClass and removeClass.

addClass() and removeClass() are very useful methods from jquery. addClass() method used to add one or more css class in selected element while removeClass() is used to remove class. I used addClass() to show...