title: need some guidance on a php point system
body: <p>am trying to build a point system which checks how much points a user have and gives a specific title to them.</p>
  
  <p>I have prepared a table which the php script can refer to when checking which title should be given to a member.</p>
  
  <p>MYSQL Table structure as follows:<br>
  name: ptb<br>
  structure: pts , title</p>
  
  <p>For example , if you have 100 points , you gain the title - "Veteran" , if you have 500 points , you gain the title "Pro". let's say i have <strong>pts:100 , title:veteran</strong> and <strong>pts:500 , title:pro</strong> rows in the <strong>ptb table.</strong></p>
  
  <p>However i stumble upon a <strong>confusing</strong> fact.<br>
  How can i use php to determine which title to give the user by using the ptb table data?<br><br>
  <strong>If</strong> a user have <strong>equal or more than</strong> 100 points will gain <strong>Veteran</strong> for title BUT 500 is <em>also MORE THAN</em> 100 which means the php script also needs to make sure it is below 500pts .</p>
  
  <p>I still not sure how to use php to do this. as i am confused myself.
  I hope someone could understand and provide me some guidelines.</p>
  
  <p>THANKS!</p>