Hi, I'm having a very strange problem with Model->del() in CakePHP 1.2. I've not experienced this before. This code worked well on 1.1, but I can't see how a porting issue could have come into play here.
Here is my code: $this->Resource->del($id); // where id is provided as an argument to the function, but = 35 in this particular case And the output: Query: DELETE `Resource` FROM `resources` AS `Resource` WHERE `Resource`.`id` IN (35) Warning (512): SQL Error: 1064: You have an error in your SQL syntax near 'Resource` FROM `resources` AS `Resource` WHERE `Resource`.`id` IN (35) ' at line 1 [CORE\cake\libs\model\datasources\dbo_source.php, line 440] Any ideas? Thanks in advance... Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---