Creative, Informative and Entertaining Stuff for everyone

Wednesday May 23rd 2012

Categories

Archives

Calender

December 2008
S M T W T F S
« Sep   Jan »
 123456
78910111213
14151617181920
21222324252627
28293031  

Archive for December, 2008

update query in symphony (Method 2)

For example to execute query like UPDATE tableName SET column1 = 'abc',column2 = 'xyz' WHERE column ='1'; In symfony you can do it this way $c = new Criteria(); $c->add(MyTablePeer::COLUMN,1); $c->add(MyTablePeer::COLUMN1,'abc'); $c->add(MyTablePeer::COLUMN2,'xyz'); MyTablePeer::doUpdate($c); Thanks

Show tooltip on mouseover

Step 1: Copy this css style code into your header tage right before the end of header tag <style type="text/css"> #dhtmltooltip{ position: absolute; border: 1px solid red; width: 150px; padding: 2px; background-color: lightyellow; visibility: hidden; z-index: 100; filter: [...]