Tuesday, September 25, 2012

add-View for more than one Table

Hi all,

I have little problem and maybe you can help me or have any advice how I can proceed.

I have over 400 lines to get a table. Since this is not optimal for MySQL and the other not possible. Now I have the whole divided into categories. So 400 Rows are now divided into "facts_a", "facts_b", "facts_c" ... to "facts_q"

Now I would like to build an add-view in which I will show all the rows from all table so they can be filled. I save all now with one click, all the information will be entered in the appropriate tables and a view-View can be displayed again summarized.

In the index view is, of course, not all content of the tables are read but only certain details. In addition, I would create another table which I then summarizes the relevant "to facts_a facts_q" as IDs and I can have the issue as a collection. HABTM should be the magic word for this. Is that correct?

Do you have an idea or a solution as I can realized such a construct?

Many thanks

Notice: I am using CakePHP 2.2.2

--
Like Us on FacekBook 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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: