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...
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...
sometimes we have multiple checkbox fields in form and require to select all and deselect all. Following is code to select and deselect.
Referrer method in symfony. This is very useful method and used to redirect back to sender page.
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:...
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 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...
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...
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,...
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...
The remote rule can be used to validate through ajax call. Field value will be passed through data and the return value to the script that is on url. You can specify data type...
More