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?
echo "<form><input style='width:1000px' type='text' name='link[]' value='https://example.com/api/user_api.php?request=SellItem&amount=" . $number . "&featured=0&classid=" . $item["classid"] . "&instanceid=" . $item["instanceid"] . "&key=xxx'". "<br>";
echo "<input name='Launchlink[]' type='button' value='Send' onclick='location.href=this.form.elements['link[]'].value'></form>'";