Nie dodaje nowego rekordu ;(
<?php
include('cfg.php');
if($_POST['creat'] == 1 )
{
$query = ("INSERT INTO user (id, login, pw, email, date)
VALUES ('', '".$_POST['login']."', '".$_POST['password']."', '".$_POST['email']."', '')");
}
<link rel='Stylesheet' type='text/css' href='style.css'>
( Znaki specjalne tkj. $/^&$#@!&*() nie dzialają )
<form action='register.php' method=POST>
<input class='input' type='text' name='login' maxlength='12'> - Nazwa użytkownika <br /> <br />
<input class='input' type='password' name='password' maxlength='8'> - Haslo <br /> <br />
<input class='input' type='text' name='email'> - Adres email <br /> <br />
<input class='input' type='submit' value='Rejestruj'>
<input type='hidden' name='creat' value='1'>
</form>
";
?>