Depending on which button the user clicks, the form will be sent with the value of the name attribute. How to write the value of the name attribute in a variable, if the value in it may be different?
<input name="Сухари" type="submit" value="Заказать сухари" /> <input name="Чипсы" type="submit" value="Заказать чипсы" />
How do I get the word "Crackers" when pressed to enter in the $ zakaz variable and if I click on the word "Chips", enter in the variable $ zakaz.