Put logout an postboard into website

This commit is contained in:
ismail 2017-02-09 16:34:38 +01:00
parent 6ae02f74c2
commit 5f6703e061
3 changed files with 9 additions and 3 deletions

View File

@ -29,9 +29,9 @@
</div> </div>
<!-- The Picture upload Button begins here --> <!-- The Picture upload Button begins here -->
<div> <div>
<form action="upload.php" method="POST" enctype="multipart/form-data"> <?php
<input type="file" name="file"> include 'postboard.php'
<button type="submit" name="submit">UPLOAD</</button> ?>
</div> </div>
<!-- The Picture upload Button ends here --> <!-- The Picture upload Button ends here -->
</div> </div>

5
dbconfig.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$dbUsername = "root";
$dbPassword = "password";
$dbName = "webshopdb";
?>

View File

@ -1,5 +1,6 @@
<?php <?php
echo '<ul> echo '<ul>
<li><a href="index.php">Logout</a></li>
<li><a href="ticket.php">Ticket</a></li> <li><a href="ticket.php">Ticket</a></li>
<li><a href="board.php">Board</a></li> <li><a href="board.php">Board</a></li>
<li><a class="active" href="home.php">Home</a></li> <li><a class="active" href="home.php">Home</a></li>