Yii Framework Forum: Tolong Relasi Many To Many - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Tolong Relasi Many To Many tolong relasi many to many Rate Topic: -----

#1 User is offline   rynd75 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 12-January 13

Posted 24 February 2013 - 07:52 AM

agan semua, ane newbie di yii,, ane dapet masalah dengan relasi many to many gan,
singkat cerita : ane punya 3 tabel, tabel a, tabel b dan tabel c, :


table a
id_a
att_a1
att_a2
att_a3
att_a4
att_a5

table b --->dummy table
id_a
id_c



table c
id_c
att_c1 = att_a1*percentage_a1
percentage_a1
att_c2 = att_a2*percentage_a2
percentage_a2
att_c3 = att_c2+att_a4

ane ga tw gmna ngelakuinny di yii gan,



tlg dbntu agan,,

trmksh bnyak gan\
0

#2 User is offline   C.S.Putera 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 92
  • Joined: 18-May 11

Posted 25 February 2013 - 08:31 AM

Hello gan. Sorry gan ane kurang paham, maksud "ngelakuin" di situ seperti apa ya ? hehehe.. Maksudnya untuk generate modelnya atau pas nge-save nya kah ? :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users