Jump to content

[SOLVED] Query output more than expected


gple

Recommended Posts

$query=mysql_query("SELECT * FROM players, communities, divisions WHERE dob BETWEEN '{$start_date}' AND '{$end_date}' and communities.id=players.community order by communities.community, communities.church, lname, fname");

 

when I output the names from the players table. I am getting four duplicate records.

Link to comment
https://forums.phpfreaks.com/topic/179734-solved-query-output-more-than-expected/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.