Please provide more information!
What does you data structure look like just before you are saving
them?
How are you trying to save the data - save or saveAll?
Enjoy,
   John

On May 18, 7:35 pm, Ziki <zixw...@gmail.com> wrote:
> I have problems with HABTM associations, i did everything like it is
> recommended, and try other behaviors for inserting HABTM, but nothing
> of that not working. I am using that in my plugin, if I use 
> thishttp://bakery.cakephp.org/leafs/view/23or 
> thishttp://bakery.cakephp.org/articles/view/add-delete-habtm-behaviorI
> cannot use any of those functions, and error is same, it says that;
> SQL Error: 1064: You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right
> syntax to use near 'addAssoc' at line 1 [CORE/cake/libs/model/
> datasources/dbo_source.php, line 666]
>
> Query: addAssoc
>
> And I tried at 100 ways, but all the time reuslt is same.
>
> I dont know what to do anymore, I have everything ok, and models, and
> tables, and I just want to add data in HABTM tables.
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to