webdevdea Posted October 22, 2013 Share Posted October 22, 2013 I need to get the team nickname to display so I can have a list of players by team.. the Nickname is in the dRcontract table.. if ($result = $mysqli->query("SELECT p.pid, p.firstname, p.lastname FROM dRplayer p, dRcontract c WHERE c.pid = p.pid ")) Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted October 22, 2013 Share Posted October 22, 2013 No idea but try if ($result = $mysqli->query("SELECT p.pid, p.firstname, p.lastname, c.Nickname FROM dRplayer p, dRcontract c WHERE c.pid = p.pid ")) Quote Link to comment Share on other sites More sharing options...
Solution webdevdea Posted October 22, 2013 Author Solution Share Posted October 22, 2013 That worked…..:-) now to get it to group? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.