I have a form:
<form method="post" action="">
<p><input type="text" name="login" value="<?php if(isset($login_username)){ echo $login_username; } ?>" placeholder="<?php echo $lang['login_1']; ?>"></p>
<p><input type="password" name="password" value="" placeholder="<?php echo $lang['login_2']; ?>"></p>
<div class="options" style="margin: 5;line-height: 1.4;">
<a onclick="showRegister();"><?php echo $lang['login_4']; ?></a><br>
<a onclick="lostPassword();"><?php echo $lang['login_5']; ?></a>
</div>
<p class="remember_me">
<label>
<input type="checkbox" id="remember" <?php if(isset($login_remember)){ if($login_remember == "on"){ echo " checked"; }} ?>><?php echo $lang['login_3']; ?></input>
</label>
</p>
<input type="hidden" id="action" name="action" value="login"></input>
<p class="submit">
<input type="submit" value="<?php echo $lang['login_button']; ?>">
</p>
</form>
When i press the Submit button, $_POST returns: Array ( [login] => Username [password] => Password [action] => login )
But not the checkbox, anyone can help me?
EDIT: I added: name="remember" but still not working.