-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.php
63 lines (55 loc) · 989 Bytes
/
book.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
<?php
session_start();
$_SESSION['mov']=$_POST['movie'];
$_SESSION['sea']=$_POST['seat'];
?>
<html>
<body>
<h2>
<center>
<p>Check your details</p>
<div id="frm">
<form action="transact.php" method="POST">
<p>
<label>MOVIE :</label>
<input type="text" name="movie" value="<?php echo $_POST['movie'];?>"/>
</p>
<p>
<label>No. of SEAT :</label>
<input type="text" name="seat" value="<?php echo $_POST['seat'];?>"/ >
</p>
<label>TOTAL COST:</label>
<?php
$value=$_POST['seat']*120;
echo "$value/-";
?>
<input type="submit" id="btn" value="Book.."/>
</form>
</div>
</body>
<style>
#frm
{
color:yellow;
font-size:90%;
width:20%;
border-radius:5px;
margin:100px auto;
padding:50px;
}
#btn
{color:#fff;
background:#337ab7;
padding:5px;
margin-left:69%;
}
h2{
color:yellow;
}
body{
background-image:url("4.jpg");
background-repeat: no-repeat;
background-size: 1680px 800px;
}
</style>
</html>