-
Notifications
You must be signed in to change notification settings - Fork 0
/
book_detail3.php
46 lines (41 loc) · 1.8 KB
/
book_detail3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="book_detail.css">
<title>Book Detail</title>
</head>
<body>
<main>
<form method="post">
<div class="temp">
<img src="images/psychology of money.jpg" alt="ai" height="500px" width="30%">
<div class="detail" >
<h1>The Psychology Of Money</h1>
<br>
<br>
<h2>"The Psychology of Money" by Morgan Housel explores the complex relationship between human behavior and money. As much as reading can inform us about what has happened in the past, like stock market crashes or how stocks have trended up and to the right over time, learning about something in a book is very different from actually experiencing the event. So be careful. You may think that you can hold your stocks during a 30% market downturn because you know that only suckers sell at the bottom, but it’s only when you experience that type of downturn that youll learn what you do."</h2>
<input type="submit" class="button" name="btn" value="Community" style="margin-left: 20px; font-size: 25px;">
</div>
</div>
</form>
</main>
<?php
session_start();
if(isset($_POST["btn"]))
{
if(!isset($_SESSION["email"]))
{
echo "<script> alert('You are not Logged...')</script>";
header("location: login_book_community.php");
}
else
{
header("location: community.html");
}
}
?>
</body>
</html>