hiho habe ein Problem mein formular übergibt die daten nicht an mein php script es ist alles richtig geschrieben vielleuicht findet ihr ja was heraus.
mein formular
Code:
<html>
<body bgcolor="#000000">
<form action="acccreate.php" method="POST">
<p align="center">[img]banner.jpg[/img]</p>
<p align="center"></p>
<p align="center"></p>
<p align="center"></p>
<p align="center"><font color="#FFFFFF"><font face="Tahoma" size="2">
Username:</font>
<input type=text name=accname maxlength=32 size="20"></font></p>
<p align="center"><font color="#FFFFFF">
<font face="Tahoma" size="2">Password: </font>
<input type=password name=password maxlength=32 size="20"></font></p>
<p align="center"></p>
<p align="center"><font color="#FFFFFF">
<input type=submit value=Create style="font-family: Tahoma; font-size: 12px; font-weight: bold; color: #0099FF"> <input type=reset value=Clear style="font-family: Tahoma; font-size: 12px; font-weight: bold; color: #0099FF">
</font></p>
<p align="center"></p>
</form>
<p align="center"><font color="#FFFFFF">
Account Creation presented by: Killer999 </font></p>
</body>
</html>
das sit in meiner php datei.
dies ist abewr nur ein kleiner ausschnitt
PHP-Code:
<?php
$_POST["accname"];
$_POST["password"];
if($accname == ""){
echo "Account name can't be empty!";
Echo "Account Creation presented by: Killer999";
exit;
er sagt dann halt immer
Account name can't be empty
warum?