Creative, Informative and Entertaining Stuff for everyone

Monday February 6th 2012

Categories

Archives

Calender

December 2009
S M T W T F S
« Oct   Jul »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Archive for December, 2009

How to use FCKeditor in symfony

1. Download the FCKeditor source from http://ckeditor.com/download 2. Extract the source to /web/js/ directory of your symfony project directory 3. To use the editor in symfony, add (edit if present)the below line //config/settings.yml .settings: rich_text_fck_js_dir: js/fckeditor 4. You have to edit [...]

Update query in symfony

Suppose you want to execute query like UPDATE tableName SET column1 = 'abc',column2 = 'xyz' WHERE column ='1'; then you can use the below syntax to do so :) ---------------------------------------------------------------------------- $con = Propel::getConnection(); /* Here you have to set the condition for which you need to update */ $c1 = [...]