Skip to content

Commit 52231dc

Browse files
committed
Move location of flash errors on index page
1 parent 5f5185e commit 52231dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<head>
55
</head>
66
<body>
7-
<h1>Checkout</h1>
87
<?php
98
if(isset($_SESSION["errors"])) {
109
echo($_SESSION["errors"]);
1110
unset($_SESSION["errors"]);
1211
}
1312
?>
13+
<h1>Checkout</h1>
1414
<form method="post" id="checkout" action="/checkout.php">
1515
<label for="amount">Amount</label>
1616
<input type="text" name="amount" id="amount" value="10.00">

0 commit comments

Comments
 (0)