query($sql); while ($row = $result->fetch_assoc()) { include ('NewLincolnBinnsDetails.html'); } ?>