Using MySQL:
$query_interred = "SELECT * FROM $interred, $plots, $own WHERE $interred.OwnerID=$owners.ID AND $interred.PlotID=$plots.ID";
And then when I want to access the specific tables would it be written like so?:
$where_clauses=array();
// if the Section Number has a value
if ($_POST['SectionNumber']){
$where_clauses[] = "SectionNumber LIKE '$plots.$SectionNumber%'";
}
This is my first attempt at using joins so I am a lot confused.
TIA