// LAST UPDATED 190521 BY EUGENEAHN@GMAIL.COM // DEFINE DATABASE INFORMATION define ('DB_USER', 'codeyourheartout'); define ('DB_PASSWORD', 'ScullyRocks2016!'); define ('DB_HOST', 'localhost'); define ('DB_NAME', 'codeyourheartout'); // DEFINE MYSQLI CONNECTION $mysqli = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); ?> /* EVERYTHING IN HERE IS PHP */ /* if (something){ then do this } else { then do this instead } */ $confirmationMessage = ""; if ($_POST['email'] != null) { // THERE IS POST CONTENT. PROCESS IT! // REGISTER RECIPIENT // Art 645 is an LACC class. So the Ask for now always goes to the instructor $email = "eugeneahn@gmail.com"; // get all the content, register it $person = $_POST['personName']; $personEmail = $_POST['personEmail']; $personGoal = $_POST['personGoal']; $alertRecipient = $email; $alertSubject = "[ Art64X.com ] - A course registration request from $person $personEmail"; $alertContent = "
Submit a request for an account and login to the website.
"; $confirmationMessage = "Participate in an important survey!
"; } $newsFeed = displayNewsFeed("1",null,null,null,null,"5"); ?>Learn the art and craft of web design from the Department of Visual And Media Art at Los Angeles City College.
Course instructor: Eugene Ahn, MA. Email: AhnEW@laccd.edu