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