wieso PHP Parse error: syntax error, unexpected token ";" in /home/emmanuel/Downloads/hp.php on line 11?
<link rel="stylesheet" href="style.css">
<?php
$db = unserialize(file_get_contents('data.php'));
if($db == false){
$db = array();
}
if($_POST['mail'] == ''){
if($_POST['name'] == ''){
if($_POST['pass'] == ''){a
if(!array_key_exists($_POST['mail'], $db){
$db[$_POST['mail']] = [$_POST['name'], []];
file_put_contents('data.php', serialize($db));
}
}
}
}
?>
<form action="" method="post">
<center>
<label for="firma_name" >name:</label><br>
<input type="text" class="input" name="name" autocomplete="off"><br>
<label for="produkte">email:</label><br>
<input type="text" class="input" name="mail" autocomplete="off"><br>
<label for="adresse">pass:</label><br>
<input type="text" class="input" name="pass" autocomplete="off"><br>
<input type="submit" class="anmelde_button" value="anmelden">
</center>
</form>
wieso PHP Parse error: syntax error, unexpected token ";" in /home/emmanuel/Downloads/hp.php on line 11?