-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontactFormSend.php
30 lines (27 loc) · 1.06 KB
/
contactFormSend.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
<?php
$headerTitle = "The Oregon State Book Exchange || Contact Seller";
$dataEntryNav = "active";
?>
<?php include("_header.php");?>
<?php
if (checkAuth(true) != "") {
?>
<h3>Contact Seller</h3>
<form method="post" action="contactFormRecieve.php">
<div class="form-group"><label>First Name: </label>
<input type="text" class="form-control" name="firstName"></div>
<div class="form-group"><label>Last Name:</label>
<input type="text" class="form-control" name="lastName"></div>
<div class="form-group"><label>Email:</label>
<input type="text" class="form-control" name="emai"></div>
<div class="form-group"><label>Message</label>
<textarea type="text" class="form-control" name="message" rows="5" cols="30"></textarea></div>
<input type="hidden" name="sellerId" value="<?php echo $_POST['sellerId']?>">
<div><input type="submit" class="btn btn-default" name="submit"></div>
</form></br>
<?php
} else {
printf("Please log in", $mysqli->error);
}
?>
<?php include("_footer.php");?>