-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage.php
34 lines (34 loc) · 1.08 KB
/
message.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
<div style="margin-left:400px;">
<?php
//$email_address=$_SESSION['emailaddress'];
//$email_address=$_GET['email'];
if(isset($_GET['info']) && $_GET['info']=='success')
{
echo "<div class='success' align='center'>Details successfully saved</div>";
}
if(isset($_GET['info']) && $_GET['info']=='edited')
{
echo "<div class='success' align='center'>Changes successfully saved</div>";
}
if(isset($_GET['info']) && $_GET['info']=='duplicate')
{
echo "<div class='alert' align='center'>A similar record already exists</div>";
}
if(isset($_GET['info']) && $_GET['info']=='deleted')
{
echo "<div class='success' align='center'>Record successfully deleted</div>";
}
if(isset($_GET['info']) && $_GET['info']=='msgs')
{
echo "<div class='success' align='center'>Message sent succesfully</div>";
}
if(isset($_GET['info']) && $_GET['info']=='msgf')
{
echo "<div class='alert' align='center'>Message failed.Please check your internet connection.</div>";
}
if(isset($_GET['info']) && $_GET['info']=='no_record')
{
echo "<div class='alert' align='center'>No Records were found!</div>";
}
?>
</div>