title: How can I concatenate a string with variables in PHP?
body: <p>Here is my simple code logic just for the sake of simplicity. I want to concatenate string like: <code>10,11,12,13,14</code>, but it's just adding all the values
  displaying wrong output as: <code>,100</code> it should display like: <code>10,11,12,13,14</code>
  like other programming languages do. </p>
  
  <pre><code>&lt;?php 
  
      // list is a string variable
      $list="";
  
      //total number of seats in a Bus
      $setnum=10;
  
      for($i = 0; $i &lt; 10; $i++) {
          //i trying to concatenate string like 10,11,12,13,14 
          $list="$list".$i+$setnum.', ';
      }
  
      echo $list; 
  
  ?&gt;
  </code></pre>