Team:Oxford/contact us
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
<h2>Contact Oxford iGEM</h2> | <h2>Contact Oxford iGEM</h2> | ||
- | < | + | |
- | + | <?php | |
- | <input type= | + | if (isset($_REQUEST['email'])) |
- | + | //if "email" is filled out, send email | |
- | <input type= | + | { |
- | + | //send email | |
- | <textarea name= | + | $email = $_REQUEST['email'] ; |
- | </textarea | + | $subject = $_REQUEST['subject'] ; |
- | < | + | $message = $_REQUEST['message'] ; |
- | <input type= | + | mail("oxfordigem@bioch.ox.ac.uk", $subject, |
- | </form | + | $message, "From:" . $email); |
- | + | echo "Thank you for using our mail form"; | |
+ | } | ||
+ | else | ||
+ | //if "email" is not filled out, display the form | ||
+ | { | ||
+ | echo "<form method='post' action='mailform.php'> | ||
+ | Email: <input name='email' type='text' /><br /> | ||
+ | Subject: <input name='subject' type='text' /><br /> | ||
+ | Message:<br /> | ||
+ | <textarea name='message' rows='15' cols='100'> | ||
+ | </textarea><br /> | ||
+ | <input type='submit' /> | ||
+ | </form> | ||
</body> | </body> | ||
</html> | </html> | ||
+ | |||
+ | |||
+ | |||
+ | Thank you for your message. We will endeavour to reply as soon as possible.</p> | ||
+ | |||
+ | |||
Revision as of 13:54, 17 July 2014
Contact Us
If you have any questions about our project, our team or our ideas don't hesitate to contact us.
Contact Oxford iGEM
Email:Subject:
Message:
Thank you for your message. We will endeavour to reply as soon as possible.
Follow us on Facebook at: https://www.facebook.com/oxfordigem
Follow us on Twitter at: https://twitter.com/OxfordiGEM
Our official email address is: oxfordigem@bioch.ox.ac.uk </p>