Relations with another table using Array
how I can use array in cell related with another table in database like
Users table:
Name | languages_id Anas | 1,2,3
Languages table:
id | language 1 | English 2 | Arabic
it’sREAD MORE
relation trough
Hola,
Según el manual se puede hacer la siguiente relación con las siguientes tablas:
tabla user (id, username, password, email) -> id es la primary key tabla profile (user_id, birthday, website) ->READ MORE
What is the proper procedure for passing a varible to a create/update form?
I’m not sure I’m phrasing this correctly, so please bare with me. Hopefully this all makes sense.
Let’s say I’m doing a job management system. I have a table of ‘Jobs’READ MORE
many_many relation using Giix extension
Does anybody have a working example of a many_many relation inside of a CGridView using the extension Giix? Thanks, Pablo.
How to display 2 related models as one in ex. CGridView?
CGridViewmergemultiple models as one
Hi
I have 2 models (tables) which are to be related.
- actionPlan(id, hp_id, up_id, text)
- yearRapport(id, hp_id, up_id, comment)
actionPlan(id, hp_id, up_id, text) yearRapport(id, hp_id, up_id, comment)
As you can see they are related by keys (id, hp_id, up_id).
Now the questionREAD MORE
How do I properly MANY_MANY relationship?
Hi people!
I’m trying to make a relationship between tables, but I can not hit.
I have read and reread several times to the documentation page (http://www.yiiframew…br/database.arr), but I can not understandREAD MORE
