If $_POST variable is not 3 numbers long
<p>I would like to get a person's weight, who is over 18 years old so very likely to be 100 pounds plus, so I want to check if the $_POST variable for the weight entered is 3 digits only. I have a form where the user enters their weight...</p>

<pre><code>if (!is_numeric($weight)) {
    echo "You did not enter a numeric weight.";
    die;
}
</code></pre>

<p>Using the above to make sure it's numeric... but also want to verify the number is 3 digits.</p>

<p>Thank you</p>
