// PHP code to update the state of the LEDs, the state of the LEDs is controlled from the "home.php" page. // PHP code to access the database.