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...
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 select and deselect.
referer method in symfony.
Referrer method in symfony. This is very useful method and used to redirect back to sender page.
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?
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...
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...
Show html field type file via generator.yml in symfony 1.2 propel.
I worked on a project in which I created a module in admin which has image field that will be uploaded by admin for this field must have input field type file. That module...
How to install ruby on rails with sqlite3 on windows 7?
I have started working on ruby on rails and need to install it on windows 7. I searched on google and found installation help on different sites that is not complete for all packages,...
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...
