I have a form that visitors to my site can use to sign up for a class. The form is essentially:
<form method="post" action="registration.php">
<h1>Class Name</h1>
<input type="text" name="name">
<input type="email" name="email">
<button type="submit">
</form>
registration.php contains:
$name = check_input($_POST['name'];
$name = check_input($_POST['email'];
and some code to email that info. How can I have this also read the Class Name so that I can use that as the subject of the registration email?
Thanks.