Well, I'm trying to make a login system, however my $ _POST returns error "Undefined index" and everywhere I find the same thing and still error.
Html:
<form action="submit.php" method="post">
<div id="login-columns">
<div id="login-column-1">
<label for="credentials-email">Email</label>
<input tabindex="2" type="text" name="credentials.username" id="credentials-email" value="">
</div>
<div id="login-column-2">
<label for="credentials-password">Senha</label>
<input tabindex="3" type="password" name="credentials.password" id="credentials-password">
</div>
<div id="login-column-3">
<input type="submit" value="Login">
<a href="#" tabindex="4" class="button" id="credentials-submit"><b></b><span>Login</span></a>
</div>...
And the php: echo $_POST['credentials.username'];
For me it does not have any errors, but even so it does not return the value of the input