-
Notifications
You must be signed in to change notification settings - Fork 9
/
contact.php
54 lines (38 loc) · 1.55 KB
/
contact.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<title>Welcome to Resume Template</title>
<link rel="stylesheet" type="text/css" href="template.css">
<link rel="stylesheet" type="text/css" href="templatecontact.css">
</head>
<body>
<section class="" ="sec1">
<div class="cdiv1">
<a href="index.html">RANDY PETTERSON</a>
<a href="portfolio.html">PORTFOLIO</a>
<a href="contact.php">CONTACT</a>
<a href="resume.html">RESUME</a>
</div></section></br>
</section>
<h3>Contact Form</h3>
<div class="container">
<form action="submit.php" method="POST">
<label for="fname">Name:</label>
<input type="text" id="fname" name="name" placeholder="Your name.." value="<?php if (isset($_POST['send'])) { echo $_POST['name']; } ?>" required>
<label for="lname">Email Id:</label>
<input type="text" id="lname" name="email" placeholder="Your email id.." value="<?php if (isset($_POST['send'])) { echo $_POST['email']; } ?>" required>
<label for="country">Country:</label>
<select id="country" name="country">
<option value="australia">Australia</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
</select>
<label for="subject">Subject:</label>
<textarea id="subject" name="subject" placeholder="Write something.." style="height:200px" required><?php if (isset($_POST['send'])) { echo $_POST['subject']; } ?></textarea>
<center><input type="submit" name="send" value="Submit"></center>
</form>
</div>
<section>
</section>
</body>
</html>