Re: what relationship is this?

2007-05-06 Thread [EMAIL PROTECTED]
The problem with your suggestion is say my customer comes along and now wants the site in french as well as spanish, catalan, italian and dutch. I would have to go and add all the fields into each table. Did you read my entire post? This is the beauty of my suggestion, not the problem! Doing

what relationship is this?

2007-05-03 Thread Anton Morrison
Hi I have a table with a page title and body. the title and body are integers that link to a table with there content value (so i can have different tables for different languages). Is there a relationship i can set up to get the content values in one query? at the moment i get the

Re: what relationship is this?

2007-05-03 Thread Dr. Tarique Sani
hasOne ? with a bit of on the fly bindModel() thrown in depending on the language HTH T On 5/3/07, Anton Morrison [EMAIL PROTECTED] wrote: Hi I have a table with a page title and body. the title and body are integers that link to a table with there content value (so i can have

Re: what relationship is this?

2007-05-03 Thread [EMAIL PROTECTED]
You are asking is how to set up relationships. If you don't know how to create basic relationships, then you need to read cake manual, and then go through the blog tutorial. You can do both in about 3-4 hours. After that, try setting up your relationships; If you still have trouble at that point,

Re: what relationship is this?

2007-05-03 Thread Anton Morrison
Thanks i do know how to set up relationships my question did prob seem quite basic. The problem with your suggestion is say my customer comes along and now wants the site in french as well as spanish, catalan, italian and dutch. I would have to go and add all the fields into each table.

Re: what relationship is this?

2007-05-03 Thread Sliv
http://www.adobe.com/devnet/dreamweaver/articles/beginners_databases_03.html On May 3, 9:50 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You are asking is how to set up relationships. If you don't know how to create basic relationships, then you need to read cake manual, and then go