<?php require_once 'config.php'; require_once 'contributor.php'; if (isset($_POST['submit'])) { $contributor = new Contributor($_POST['name'], ['birth'], ['death']); $contributor->create(); } ?> <html> <head> <title>Composers of Film Music</title> </head> <body> <form method="POST" action=""> Enter the name of the composer: <input type="text" name="name"></input><br /> Enter the date the composer was born: <input type="text" name="birth"></input><br /> Enter the date the composer died, if applicable: <input type="text" name="death"></input><br /> <input type="submit" name="submit" value="submit"></input><br /> </form> <?php if (isset($Contributor)) {