One other way to figure out if it's a 10 digit number would be like so: $var = int($_POST['Number'])
if(strlen($var) == 10){
//ok
}
else{
//error
}
somenum -> 0
12345.7890 -> 12345
1234567890 - > 1234567890
_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
