Hey ppl. I've created my script which checks to see if a password is at least 4 characters long lol. Here the code:
if(strlen($formdata["password"] < 4)){
$error = "<font color=\"#FF0000\"><li><b>Error:</b></li></font> Your password must be
four characters or over! Please correct this.";
return false;
}
The problem is that no matter what I put in it always complains that the password isnt long enough! Oh and this is the first time ive used strlen(); heh. Any suggestions greatly appreciated!