On Jul 13, 11:04 pm, si-mon <[email protected]> wrote:
> Hi All,
>
> I am creating a CRM application in cake php. In it, in my user table,
> there are three levels of users viz. Director, Manager and Executive.
>
> I need to include a field "reports_to"
> Eg: executive1 reports_to manager1
> executive2 reports_to manager1
> executive3 reports_to manager2
> executive4 reports_to manager3
> and so on...
>
> This means, the users table belongsTo (or hasAndBelongsToMany) the
> same users table.
>
> Please help me to implement this...
>
> Thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---