Hallo
if (!empty($username) && !empty($passwort))
anstatt !empty() kannst du doch viel besser isset() nehmen...
weiß nicht ob da der fehler liegt (wie klaus schon sagte), versuch doch sonst da mal
if (isset($username) && isset($passwort))
drauszu machen...
Grüße
David
--
"Nobody will ever need more than 640k RAM!"
1981 Bill Gates
"Nobody will ever need more than 640k RAM!"
1981 Bill Gates