title: PHP Restrict Input to Numbers only + the number only can go upto a special amount
body: <p>Ok so im coding this thing and i want people to select a number from 1-100 in a <code>&lt;input type='text'&gt;</code> right, so i want them to only be able to select a number inside the 1-100 , so if they typed 101 or like 300 it will echo a error or if they typed letters instead of numbers it will echo a error aswell. plus i want this code to either be  in Java or PHP. whatever is fine.</p>
  
  <p>if anyone can give me this code it will be great.</p>