title: How to concatenate PHP variable name?
body: <p>I have a PHP for loop:</p>
  
  <pre><code>for ($counter=0,$counter&lt;=67,$counter++){
  
  echo $counter;
  $check="some value";
  
  }
  </code></pre>
  
  <p>What I am trying to achieve is use the for loop variable and append it to the name of another variable.</p>
  
  <p>Bascially, I want the PHP output to be as follows for each row</p>
  
  <pre><code>1
  $check1="some value"
  
  2
  $check2="some value"
  
  3
  $check3="some value"
  
  4
  $check4="some value"
  
  etc etc 
  </code></pre>
  
  <p>I have tried <code>$check.$counter="some value"</code> but this fails.</p>
  
  <p>How can I achieve this? Am I missing something obvious?</p>