Team:Wash U/Sponsors
From 2009.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <title> | + | <title>Thanks for your comments.</title> |
- | + | ||
- | </title> | + | |
</head> | </head> | ||
<body> | <body> | ||
- | < | + | <?php |
- | + | $name = $_POST['name']; | |
- | < | + | $comment = $_POST['comment']; |
+ | $textarea = $name." ".$comment.$textarea; | ||
+ | ?> | ||
+ | <form action="comments.php" method="post"> | ||
+ | <center> | ||
+ | <table> | ||
+ | |||
<tr> | <tr> | ||
- | < | + | <th colspan="2">Please enter your name and leave a comment about our song.</th> |
- | < | + | </tr> |
+ | |||
<tr> | <tr> | ||
- | <td> | + | <td><b>Name:</b></td> |
- | <td><input type="text" name=" | + | <td><input type="text" name="name" width="5" height="5" wrap="on"></td> |
+ | </tr> | ||
+ | |||
<tr> | <tr> | ||
- | <td> | + | <td><b>Comments:</b></td> |
- | <td><input type="text" name=" | + | <td><input type="text" name="comment" wrap="on" overflow="true"></td> |
+ | </tr> | ||
+ | |||
<tr> | <tr> | ||
- | <td colspan="2"><input type="submit" value=" | + | <td align="center" colspan="2"><input type="submit" value="Submit Comment"> |
- | < | + | </tr> |
+ | |||
</table> | </table> | ||
+ | </form> | ||
+ | <p> | ||
+ | <p> | ||
+ | <textarea name="textarea" cols="50" rows="20" wrap="on" readonly="true"> | ||
+ | <?php | ||
+ | echo $name.': '; | ||
+ | echo $comment; | ||
+ | ?> | ||
+ | </textarea> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:52, 6 July 2009