title: Jquery counter inside php script
body: <p>I'm a little stuck with my code. My script can add and remove a textbox. I want to give the value of the textboxes with a session with PHP. I am using a counter to add and remove the textboxes. That works all fine but I have no clue how to do that with sessions when adding a textbox. </p>
  
  <p>When adding a textbox:</p>
  
  <pre><code>newTextBoxDiv.after().html('&lt;label&gt;&lt;b&gt;Pagina #'+ counter + ' : &lt;/b&gt;&lt;/label&gt;&lt;br&gt;' +
      '&lt;input type="text" class="form-control" style="width:20%; display: inline-block;" name="textbox' + counter +
      '" id="textbox' + counter + '" value="" &gt;');
  </code></pre>
  
  <p>This is what I want:</p>
  
  <pre><code>value="&lt;?php echo $_SESSION['textbox' + counter + ''];?&gt;"
  </code></pre>
  
  <p><a href="https://jsfiddle.net/qhzfn54s/1/" rel="nofollow noreferrer">JSFIDDLE</a></p>