title: How to submit buttons via textboxs array
body: <p>I want to create a page with about 300 textboxs from a foreach loop. I am able to write links into the textboxes, but i can't read textboxes array. Buttons are not working. How to submit these links via buttons?</p>
  
  <pre><code>echo "&lt;form&gt;&lt;input style='width:1000px' type='text' name='link[]' value='https://example.com/api/user_api.php?request=SellItem&amp;amount=" . $number . "&amp;featured=0&amp;classid=" . $item["classid"] . "&amp;instanceid=" . $item["instanceid"] . "&amp;key=xxx'". "&lt;br&gt;";
  echo "&lt;input name='Launchlink[]' type='button' value='Send' onclick='location.href=this.form.elements['link[]'].value'&gt;&lt;/form&gt;'";
  </code></pre>