Kde je chyba? pise mi to Parse error: parse error, unexpected $end in C:\PHPWebServer\http_docs\reg.php on line 30 a ja vubec nevim proc, diky reakci
<?php
$db_connect = mysqli_connect();
if (!$db_connect)
echo mysqli_connect_error();
$heslo = $_POST['heslo'];
$heslo_znovu = $_POST['heslo_znovu'];
$email = $_POST['email'];
$login = $_POST['login'];
if($heslo != $heslo_znovu and isset($_POST['login'], $_POST['login']))
{
mysqli_query($db_connect, 'INSERT INTO uzivatele (login,pass,email) VALUES ($login,$heslo,$email);
}
mysqli_close($db_connect);
?>
<html>
<form action="" method="post">
<table>
<tr><td>Login:</td> <td><input type="text" name="login" maxlength="32"/></td></tr>
<tr><td>Heslo:</td> <td><input type="password" name="heslo" maxlength="32"/></td></tr>
<tr><td>Oveření hesla:</td> <td><input type="password" name="heslo_znovu" maxlength="32"/></td></tr>
<tr><td>E-mail:</td> <td> <input type="text" name="email" value="" maxlength="64"/></td></tr>
</table>
<input type="submit" name="send" value="Zaregistrovat"/>
</form>
</html>