Yii Framework Forum: linking two tables - Yii Framework Forum

Jump to content

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

linking two tables Rate Topic: -----

#1 User is offline   Abdul wahab 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 29-August 10

Posted 07 September 2010 - 12:38 AM

hi!...
i have linked two tables in phpmyadmin..but when i creat models of that tables the relation functions still empty...
plz tell me the solution..

any 1 plz tell me the solution...
can some one give my any good and easy tiutorial of phpmyadmin tables linking???
0

#2 User is offline   ariefpriyadi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 27
  • Joined: 08-June 10
  • Location:Kenjeran-Surabaya

Posted 07 September 2010 - 07:49 PM

link it with constraint like in this link

http://dev.mysql.com...onstraints.html

Its automatic write methode relation
arief.kenjeran.net
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