<input class="product_minus" type="button" data-quantity="<?=$product['product_id']); ?>">
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (isset($_POST['name'])) $name = $_POST['name'];
if (isset($_POST['phone'])) $phone = $_POST['phone'];
if (isset($_POST['email'])) $email = $_POST['email'];
if (isset($_POST['text'])) $text= $_POST['text'];
if (isset($_POST['kurs'])) $kurs= $_POST['kurs'];
if (isset($_POST['formData'])) $formData = $_POST['formData'];
}