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>
-
 
+
<form action="mailto:admin@example.com" enctype="text/plain" method="post">
-
<?php
+
<p>Name: <input name="Name" type="text" id="Name" size="40"></p>
-
if (isset($_REQUEST['email']))
+
<p>E-mail address: <input name="E-mail" type="text" id="E-mail" size="40"></p>
-
//if "email" is filled out, send email
+
<p>Comment:</p>
-
  {
+
<p><textarea name="Comment" cols="55" rows="5"
-
  //send email
+
id="Comment"></textarea></p>
-
  $email = $_REQUEST['email'] ;
+
<p><input type="submit" name="Submit" value="Submit"></p>
-
  $subject = $_REQUEST['subject'] ;
+
</form>
-
  $message = $_REQUEST['message'] ;
+
-
  mail("oxfordigem@bioch.ox.ac.uk", $subject,
+
-
  $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>

Revision as of 13:58, 17 July 2014

Contact Us

OxiGEM.png

If you have any questions about our project, our team or our ideas don't hesitate to contact us.

Contact Oxford iGEM

Name:

E-mail address:

Comment:

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>