I m not so expert in web design. I need ur help.
I have two table. One has a primary key and other foreign key. I want that foreign key must be from primary key. other than primary key it will not except any value. I made relationship from phpmyadmin. but evan I can put value in foreign key cell, which is not in primary key. I made it in MS Access. Is it possible in mysql?
if possible then plz help me. Remember-- I want to do that through PHP or PHPMYADMIN