their relationship in your question a little next time.
Assuming you have a Records model and a Timespans model that are
related to each other, and the relationships are described in the
models for those two entities ...
So, for example if you want to add the values from a Record to the
values in the related Timespan, you would reference the $this->Record
and $this->Record->Timespan
On Dec 1, 1:45 am, webscriptz <webscri...@gmail.com> wrote:
> I'm making a register and I have a small problem,
>
> I want two numbers to be additioned (+) with the numbers already in an
> other table, unfortunantly I don't know how to do this.
>
> i have a Record with "debet" and "credit" and i want to addition them
> to "debet" and "credit" in timespans.
>
> but they got controller & model records
>
> please help,
>
> Tim De Smedt
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment