Ok I am checking that a string is at least 4 characters long and 25 or less characters short
I tried to use strlen like this
$userNameSignupLength = strl
I think you want an OR there:
else if($userNameSignupLength < 4 || $userNameSignupLength > 25) {
Like Gumbo said, the length cannot possibly be both less than 4 AND greater than 25. && means and.
&&
and