-
Notifications
You must be signed in to change notification settings - Fork 8
/
inbox.php
72 lines (61 loc) · 1.73 KB
/
inbox.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* @System HP-pc Rax
* @author Rakshit shah <Rakshitshah1994@gmail.com>
* @copyright 2015-2017 |Rakshit shah
* @license http://rakshit.in/license/license.php | PHP License 3.0
* @version 1.1
* @since File available since Release 1.0.0
*/
include("header.php");
include("conection.php");
$recinbox = mysql_query("SELECT * FROM contact where contactid='$_GET[eid]'");
while($row = mysql_fetch_array($recinbox))
{
$name = $row["name"];
$emailid= $row["emailid"];
$contact = $row["contactno"];
$subject= $row["subject"];
$message= $row["message"];
}
?>
<section id="page">
<header id="pageheader" class="normalheader">
<h2 class="sitedescription">Enquiry Message</h2>
</header>
<section id="contents">
<article class="post">
<header class="postheader">
<h2>Enquiry Message</h2>
<p><a href="contactview.php"><< Back</a></p>
</header>
<section class="entry">
<form name="form2" method="post" action="">
<table width="463" border="1">
<tr>
<td width="319" height="39"> <strong>Name: </strong><?php echo $name;?></td>
</tr>
<tr>
<td height="36"> <strong>Email ID: </strong><?php echo $emailid;?> </td>
</tr>
<tr>
<td height="33"> <strong>Contact No:</strong> <?php echo $contact;?> </td>
</tr>
<tr>
<td height="35"> <strong>Subject: </strong><?php echo $subject;?> </td>
</tr>
<tr>
<td height="338" valign="top"><br> <strong>Message: </strong><?php echo $message;?> </td>
</tr>
</table>
</form>
</section>
</article>
</section>
<?php
include("adminmenu.php");
include("footer.php"); ?>
<p> </p>
<form name="form1" method="post" action="">
<input type="submit" name="button" id="button" value="Delete">
</form>