updateAll() do not escape values instead of find() and save(). You need to do it manually.
On Jul 24, 6:20 pm, mike karthauser <[email protected]> wrote: > hi rick > > On 24 Jul 2010, at 03:20, Rick Dane wrote: > > > Warning (512): SQL Error: 1054: Unknown column 'asg5' in 'field > > list' [CORE/cake/libs/model/datasources > > > Query: UPDATE `uiemails` AS `Uiemail` SET `Uiemail`.`colorborder` = > > asg5 WHERE `divid` = 'fahk' > > not sure how you are generating this query but it should be > > > Query: UPDATE `uiemails` AS `Uiemail` SET `Uiemail`.`colorborder` = > > 'asg5' WHERE `divid` = 'fahk' > > ie missing quotes round asg. > > HTH > > -- > Mike Karthäuser > Managing Director - Brightstorm Ltd > Email: [email protected] > Web:http://www.brightstorm.co.uk > Tel: 07939 252144 > Address: 1 Brewery Court, North Street, Bristol, BS3 1JS Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
