diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-06-18 21:15:15 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-06-18 21:15:15 -0400 |
commit | 47352856e40e471a8ce05875fa25a0428ddb5d94 (patch) | |
tree | 02e70a3c0402100a02b8bb932d06a94fab5f1c19 /index.php | |
parent | 0d5c50da744b3ee859383b4b8287568d0c8329da (diff) | |
download | carpentertutoring-47352856e40e471a8ce05875fa25a0428ddb5d94.tar.xz carpentertutoring-47352856e40e471a8ce05875fa25a0428ddb5d94.zip |
more or less finished decorating form
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -224,7 +224,7 @@ </section> <!-- contact box --> - <section id="contact" class="quiet"> + <section id="contact"> <?php // handle form submission if (isset($_POST['name'], $_POST['email'], $_POST['body'])) { @@ -237,28 +237,27 @@ mail('atc@53hor.net', 'test', 'test'); echo $email; echo 'Thank you for your email!'; - } else { - echo 'Please fill out the required fields.'; } ?> <form action="/#contact" method="post"> <label for="name">Name</label> - <input name="name" type="text" id="name" required /> + <input name="name" type="text" id="name" placeholder="Jane Doe" required /> <label for="email">Email Address</label> - <input name="email" type="email" id="email" required /> + <input name="email" type="email" id="email" placeholder="jdoe85@aol.com" required /> <label for="body">Question/Comment</label> - <textarea name="body" id="body" required></textarea> + <textarea name="body" id="body" placeholder="Briefly describe your inquiry, including any services or areas of study you're interested in." required></textarea> - <input type="submit" value="Send" /> + <!--<input type="submit" value="Send" />--> + <button type="submit" class="button">Send</button> </form> </section> </main> <footer> - <p>© 2021 Carpenter Tutoring, LLC. All rights reserved.</p> + <p>© <?php echo date('Y'); ?> Carpenter Tutoring, LLC. All rights reserved.</p> <p> <a href="mailto:webmaster@carpentertutoring.com"> Having trouble with our site? |