There is a form with an unknown number of inputs of the form.
input type="text" name="order[inputname]" What should I write in the php file of the form handler so that the contents of all inputs are embedded in the body of the letter and sent to the specified address.
foreach($_POST as $key => $value) { ... }- RussCoder<br/>probably need\r\nand the loop is some kind of untrue .. when the name isorder[inputname]then each value truncates the previous one ... if there are many inputs with that name ..... better show all thehtmland how and what do you do inphp......... most likely you need a cycle of$_POST['order']- Alexey Shimanskyform[Name]:asd form[Subject]:123 form[Send]:Отправить form[formId]:4sentform[Name]:asd form[Subject]:123 form[Send]:Отправить form[formId]:4..... respectively, and the loop will beforeach($_POST['form'] as $key=>$val) { ........ and it is better to remove theSubjectfield from the post request ..... learn how to use the developer tools - Alexey Shimansky