Jon W
03-19-2008, 03:38 AM
Ok, I'm not to sure how this is done, I'm sure you guys can help! :P
Ok my question is how do I check and see if something is not greater or equal to something... Good example is that I'm wanting to make sure that my users have a password at least 6 chars long. So I thought well is it done:
$pass_len = strlen($_POST['password']);
if($pass_len !<= 6)
{
echo 'HEY!!! NO, N.O... you have to have at least 6 chars for you password, or it just isn\'t happening.. :P';
}
Thanks in advance.
Jon W
Ok my question is how do I check and see if something is not greater or equal to something... Good example is that I'm wanting to make sure that my users have a password at least 6 chars long. So I thought well is it done:
$pass_len = strlen($_POST['password']);
if($pass_len !<= 6)
{
echo 'HEY!!! NO, N.O... you have to have at least 6 chars for you password, or it just isn\'t happening.. :P';
}
Thanks in advance.
Jon W