linking two tables

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???

link it with constraint like in this link

http://dev.mysql.com/doc/mysql/en/innodb-foreign-key-constraints.html

Its automatic write methode relation