Bom dia, sou novo em php, e gostaria de saber como faz para fazer soma de forms,
exemplo:
<html>
<head>
<title>Soma em PHP</title>
</head>
<body>
<select class="custom-select mb-2 mr-sm-2 mb-sm-0" id="inlineFormCustomSelect">
<option value="tamanho1">1500 x 800 mm</option>
<option value="tamanho2">1500 x 1000 mm</option>
</select>
<br>
<label class="form-check-label">
<input class="form-check-input" type="checkbox" value="opcional1">
tela de mosquito
</label>
<br>
<label class="form-check-label">
<input class="form-check-input" type="checkbox" value="opcional2">
Persiana
</label>
<br>
<br>
<br>
<button type="button" class="btn btn-primary">R$ 0.000,00</button></a>
</body>
</html>
que o tamanho1 e 2 tenham valores diferentes e que quando marcado algum dos opcionais o valor do botão se altere conforme o escolhido.
como posso fazer isso em php ?