HUHU
Hab mir nen Login gemacht aber irgnedwie klappt er nicht also er läst durch wenn das PW richtig ist aber der nick nit .. bzw. wenn eins von beiden richtig ist .. ich will aber das beides richtig sein muss!
HIER der code
Code:
<?php
$pw="test";
$nick="test";
if($_POST['inputpw']!=$pw and $_POST['inputname']!=$nick){
echo "<form action=\"?\" method=\"post\">";
echo "Nick ";
echo "<input type=\"name\" name=\"inputname\"> ";
echo "Password ";
echo "<input type=\"password\" name=\"inputpw\"> ";
echo "<input type=\"submit\" value=\"login\"></form>";
}
else {
?>
Ich glaub es liegt am "and" weiß aber nit

bin noch nit lang mit PHP unterwegs
LG Chris