>
> I already know what you are talking about and have already set up the 
> database as you have shown before you posted.
> but my question was about setting up a foreign key in the Users table.
>
 

> I have  the relationships set up in User/Teacher but do I have a foreign 
> key in each or just leave 1 table to have the foreign key.
> This is a cakephp question as normally I would just have the User having 
> no foreign key and the Teacher having the foreign key so just 1 table has 
> the link. 
>
> Currently my model works .
>

-- 
 <http://itfutures.edu.au?referer=email>
*P: (03) 9866 7737*
*E: [email protected] <[email protected]>*
*A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 
<https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=15&cad=rja&uact=8&ved=0CKQBEPUXMA4&url=http%3A%2F%2Fmaps.google.com.au%2Fmaps%3Fgl%3Dau%26hq%3Ditfutures%26daddr%3D1%2F424%2BSt%2BKilda%2BRd%2C%2BMelbourne%2BVIC%2B3004%26panel%3D1%26f%3Dd%26fb%3D1%26geocode%3DFdKovv0dMSWkCCnfp02hHWjWajGLbygrlMPvUw%26cid%3D6048267865728511883&ei=hHUYU_abH8-okgXV7oGYDg&usg=AFQjCNEBpgXrGRhNzMxOzPLHRVSQkdpXUQ&bvm=bv.62577051,d.dGI>*


-- 
*Connect with us: *

<http://plus.google.com/+itfutureseduau> 
<http://linkedin.com/company/it-futures>
  <http://youtube.com/user/itfutureseduau>  <http://twitter.com/itfutures> 
<http://facebook.com/itfutures>

-- 


Please consider the environment before printing this email.

 

This e-mail and any attachments to it (the "Communication") is, unless 
otherwise stated, confidential,  may contain copyright material and is for 
the use only of the intended recipient. If you receive the Communication in 
error, please notify the sender immediately by return e-mail, delete the 
Communication and the return e-mail, and do not read, copy, retransmit or 
otherwise deal with it. Any views expressed in the Communication are those 
of the individual sender only, unless expressly stated to be those of 
National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any 
of its related entities. NTSP does not accept liability in connection with 
the integrity of or errors in the Communication, computer virus, data 
corruption, interference or delay arising from or in respect of the 
Communication.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to