This is my connection page
<?php
$servername ='localhost';
$username ='root';
$password ='';
$dbname ='credit_list';
$conn = mysqli_connect($servername,$username,$password) or die(mysqli_error());
$dbconnect = mysqli_select_db($conn,$dbname);
?>
and this is my home page
<?php
include "includes/connect_database.php";
if(empty($_SESSION)) // if the session not yet started
session_start();
if(!isset($_SESSION['username'])) { //if not yet logged in
header("Location:index.php");// send to login page
exit;
}
?>
//codes below are the contents of the home page
And the problem my server show this error
Parse error: syntax error, unexpected ';' (T_STRING) in C:\wamp\www\credits\home.php on line 2
how can I fix this?