php variable after a variable in for loop
<p>I need a way to do this</p>

<pre><code>for($i=1;$i&lt;=10;$i++){
$id$i = "example" . $i;
}
</code></pre>

<p>notice the second line has $id$i
so for the first loop $id1 will equal example1
in the second loop $id2 will equal example2
and so on...
Thank you very much!</p>
