I have 3 table
Player Playerid Player name
Team Team id Player1 foreign key playerid from table(player) Player2 foreiy key playerid
Match Matchid Teamid Playerid
Now I want a player name from the player table for player1 and player2 in Dropdown box
I am doing it for a college project using php codeigniter and stuck at this Please help me on this anyone.