title: Insert random number with mysql
body: <p>i have a question in regards to mysql mainly. i have the following:</p>
  
  <pre><code>mysql_query("INSERT INTO {$game}_ships (location,login_id
           ) values(
      '250','44')");
  </code></pre>
  
  <p>i would like to make the location a random number from 2 to 300.</p>
  
  <p>my table structure includes among others a column for location and login id, i dont need to mention other columns as they are static and do not change.
  the above is suposed to make a ship look like its moving around the systems.</p>
  
  <pre><code>location   int(4)
  </code></pre>
  
  <p>can anyone help with this?</p>