title: "Large multiple variable echo's" way to make simpler?
body: <p>Say I am echoing a large amount of variables in PHP and I wont to make it simple how do i do this? Currently my code is as follows but it is very tedious work to write out all the different variable names.</p>
  
  <pre><code>echo $variable1;
  echo $variable2;
  echo $variable3;
  echo $variable4;
  echo $variable5;
  </code></pre>
  
  <p>You will notice the variable name is the same except for an incrementing number at the end. How would I write a script that prints echo <code>$variable;</code> so many times and adds an incrementing number at the end to save me writing out multiple variable names and just paste one script multiple times.?</p>
  
  <p>Thanks, Stanni</p>