
{ } else { echo '<form action="index.php" method="POST"> E-mail: <br /> <input type="text" name="lfmail"><br /> Hasło: <br /> <input type="password" name="lfpass"><br /> <input type="submit" name="fok" value="Zaloguj"> </form>'; { else { else { $_SESSION['logged'] = true; $_SESSION['id'] = $row['id']; $_SESSION['firma'] = 1; header( 'Location: <a href="http://localhost/portal/pro.php'" target="_blank">http://localhost/portal/pro.php'</a> ) ; } } } }
Ciągle wywala mi "Niestety podałeś niepoprawne dane."
Jeśli tu niczego złego nie będzie wrzucę cały index.
Z góry dzięki
