Monday, April 27, 2009

Re: Newbie here: Saving data into DB

On Sun, Apr 26, 2009 at 5:25 PM, AGD <anibaldamiao@gmail.com> wrote:
>
> Hi all
>
> I would like some help from you since i am recently starting to tast
> the cake.
>
> I am trying to create one page where there is an call to an API, and
> would like to store the result of that call for later processing into
> the DB.
>
> I've created one test page. In that page's controller i would like to
> save data into a table in the database.
>
> Should i create a model and controller for that table? IF so, how can
> i do it and then call it actions from the previous controller?
>
> An existing example or blog post would be appreciated

Likewise, it'd be better if you gave a concrete example of what you
want to do. Are the 2 models associated with each other?

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

No comments: