Questions tagged as "relations"
how I can use array in cell related with another table in database like
Name | languages_id Anas | 1,2,3
id | language 1 | English 2 | Arabic
I am trying to apply 2 conditions based on data from different tables inside a named scope. I know my relations are right because if i remove the second conditionREAD MORE
Hello YiiAnswers! i have an CActiveRecord that i want to make it relation to another model, i build my relations method like this:
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
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