PHP-Code:
<html>
<head>
</head>
<body bgcolor="#ffffff">
<?
if($user == "JuNk3Y" and $pw == "xxx")
{
echo "Zugriff erlaubt!";
}
else
{
echo "lol, falsches pw!";
}
elseif($user == "Shoti" and $pw == "xxx")
{
echo "Zugriff erlaubt!";
}
else
{
echo "lol, falsches pw!";
}
elseif($user == "D3mon" and $pw == "xxx")
{
echo "Zugriff erlaubt!";
}
else
{
echo "lol, falsches pw!";
}
?>
</body>
</html>
Parse error: parse error, unexpected T_ELSEIF in /home/www/web48/html/test/intern.php on line 19
was kann ich da machen?
Mfg Markus
Kommentar