Looks like you're missing a semi-colon after your call to
session_start[
^].
You've also added a new block for no apparent reason, which almost makes the following code look like it's part of a function called
session_start
, even though it's not.
And as Richard MacCutchan pointed out, you're missing a closing brace after your call to
LoginUser
.
<?php include "functions.php"?>
<?php
session_start();
$_SESSION['email'] = $_POST['login_email'];
?>
<?php
if(isset($_POST['login'])){
LoginUser();
}
?>