fuckery
This commit is contained in:
+7
-4
@@ -12,6 +12,13 @@
|
||||
<a href="home.php" style="font-family: cursive; color:white; font-size: xx-large; text-decoration: none"> Placeholder</a>
|
||||
</header>
|
||||
<div class="login-box">
|
||||
<?php
|
||||
session_start();
|
||||
$ID = $_SESSION['EmployeeID'];
|
||||
if ($ID == ''){
|
||||
header("location:index.php");
|
||||
}
|
||||
?>
|
||||
<h2>Shipment Fill-out form</h2>
|
||||
<form action="insert.php" method="post">
|
||||
<div class="user-box">
|
||||
@@ -48,10 +55,6 @@
|
||||
</html>
|
||||
<!--The bettah code that I wrote MWAHAHAHA-->
|
||||
<?php
|
||||
session_start();
|
||||
if($_SESSION['EmployeeID'] = ''){
|
||||
header("location:index.php");
|
||||
}
|
||||
define('MYSQL','localhost');
|
||||
define('USERNAME','root');
|
||||
define('PASSWORD','');
|
||||
|
||||
Reference in New Issue
Block a user