si esta mal el formulario, aquí un ejemplo correcto:
<form action="post.php" method = "post">
<label >Username</label> <input type="text" id="usename" name="usuario"><br /><br />
<label >Password:</label> <input type="text" id="password" name="clave"><br /><br />
<button type = "submit">Login</button>
</form>