It's part of the site logic. Everytime a new user registers, it needs
to be able to decide what week number (week_id), they are starting in
based on it being betweek the start and end date in another table.


On Apr 23, 3:44 pm, Faza <[email protected]> wrote:
> want to do it using Cake or just plain good ol' SQL? Also, is it a
> one-timer, or is it a part of your site logic?
>
> [email protected] pisze:
>
> > Hi,
> > I have a question, if I wanted to update a foreignkey field in a
> > table, based on a date range in another table (eg. it has an id,
> > startdate, enddate). How would I do that?
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to