simplify the bulk of code
<p>is there a way to make this code shorter the value of $val1 $val2 ....... is a result of a query
    

<pre><code>$val1 = 1;
$val2 = 2;
$val3 = 3;
$val4 = 4;
$val5 = 5;
$val6 = 8;
$val7 = 7;
$val8 = 8;
$val9 = 8;
$val10 = 9;
$val11 = 13;
$val12 = 12;

echo $val1.",".$val2.",".$val3.",".$val4.",".$val5.",".$val6.",".$val7.",".$val8.",".$val9.",".$val10.",".$val11.",".$val12; 

?&gt;
</code></pre>

<p>is there i way to simplify this</p>

<pre><code>echo $val1.",".$val2.",".$val3.",".$val4.",".$val5.",".$val6.",".$val7.",".$val8.",".$val9.",".$val10.",".$val11.",".$val12; 
</code></pre>
