Check for $_POST index before using it