title: Random number insert mySQL not working
body: <p>Hey all i am created 2 random numbers like so:</p>
  
  <pre><code> $firstlink = intval(mt_rand(100, 999) . mt_rand(100, 999) . mt_rand(1, 9) . mt_rand(100, 999)); // 10 digit
   $secondLink = intval(mt_rand(1000, 999) . mt_rand(1, 999) . mt_rand(10, 99) . mt_rand(100, 999));
  </code></pre>
  
  <p>And this is my insert code:</p>
  
  <pre><code>$result = mysql_query("INSERT INTO userAccount 
                       (Category,Fname,LName,firstlink,secondLink,AccDate) 
                        VALUES (  '" . $cat . "',
                                  '" . $fname . "',
                                  '" . $lname . "',
                                  " . $firstlink . ",
                                  " . $secondLink . ",
                                  '" . date('Y-m-d g:i:s',time()). "');");
  </code></pre>
  
  <p>It has no errrs and it places the data into the mysql database. However, its always the same number for <strong>BOTH</strong> <em>firstlink</em> and <em>secondLink</em> no matter who i add to the database and i have no idea why its doing it!</p>
  
  <p>The <strong>datatype</strong> for both rows is <strong>INT(15)</strong></p>