Would this be the proper way of checking if a form value was at least 4 characters but no bigger than 10?
$user_l = strlen($_POST['username']); if($user_l >= 4 && $user_l <= 10) { ... }
Looks good to me