database byla blbe pojmenovana :)
jo a jak tam mam napsane
$errors = array();
if ( !$username ) {
$errors[1] = "You did not enter a username.";
}
if ( !$pasword ) {
$errors[2] = "You did not enter a password.";
}
if ( !$paswordcofn ) {
$errors[3] = "You did not enter a password confirmation.";
}
if ( !$email ) {
$errors[4] = "You did not enter email.";
}
if ( !$password != $passwordconf ) {
$errors[5] = "The passwords you entered did not match.";
}
if ( count($error) > 0 ) {
foreach ( $errors as $error ) {
echo "$error<br>";
tak to jsou chyby ze ? no a jak nejakou chybu udelam tak se nic nestane .. nevis co stim ?
PS:SQL funguje :)