title: PHP storing multiple integer variables in 1 variable?
body: <p>I'm creating a php script which creates a random number which is 7 digits long and doesn't contain 0's, the only problem with this is that I have to call the function rand 7 times and store every number generated in a different variable, but I was wondering how I could put these numbers together in a variable instead of adding them together</p>
  
  <p>something along the lines of </p>
  
  <p>$security_number = $1&amp;&amp;$2&amp;&amp;$3 and so on.</p>
  
  <p>thanks in advance.</p>