On Jan 24, 2008 2:48 PM, daphonz <[EMAIL PROTECTED]> wrote:
> But when I try to use it to insert a line like:
>
> INSERT INTO `categories`
> (`id`,`parent_id`,`slug`,`name`,`teaser`,`description`,`model`,`options`,`ordering`,`lft`,`rght`,`enabled`,`type`,`level`,`created`,`modified`)
> VALUES ('2','0','file-repository','File Repository','<p> </
> p>',NULL,'Document','a:1:{i:0;s:
> 1:\"0\";}','1','3','4','true','nested',NULL,'2007-11-01
> 17:33:17','2007-11-01 17:33:17');Is there any reason you're not building up an array containing that information and using $this->Model->save($dataArray) ? -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
