You can try to use a console command like: "cake bake" and use it to
generate the respectives MVC - automagic ;)
if your database is following the conversation, you will not have problems.


2013/5/13 Lilit <lilitbaku...@gmail.com>

> hi
> I have two tables` items and categories
> /categories/
> id
> title
> description
>
> /items/
> id
> title
> description
> category_id
>
> and i want to create a function addItems, that will allow me to add items
> to
> categories, sounds too simple. Can anyone help?
>
>
>
> --
> View this message in context:
> http://cakephp.1045679.n5.nabble.com/Add-items-to-category-tp5714898.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to