No longer need to put the database server connection info in each page

This commit is contained in:
William Miceli
2019-12-03 04:38:53 -05:00
parent 40debb217c
commit 52c4f35350
3 changed files with 17 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
<?php
session_start();
require 'db_connection.php';
if (isset($_POST['Submit'])){
$_SESSION['loginData'] = $_POST;