if ($username != '')
{
if($password != $password1)
{
echo 'Password does not match<br />';
}
else if ($username > 14)
{
echo 'username too long';
}
else if ($username < 5)
{
echo 'username too short';
}
else if($password < 5 && $password1 < 5)
{
echo 'Your password or username is too short, minimum of 5 characters<br />';
}
else{
我试了几次,但它说我的用户名太短,即使它有 9 个字符。