i’m trying to make a form where the user can go to the next page by filling it my form on what and i have to choose the price of the cofee with the tax if anyone can help me out i would greatly apprecitae it this is what i got so far.
Welcome to Tim Hortons
<label>Size:</label>
<select name="Size">
<option value="-1">Select size</option>
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
<option value="Extra Large">Extra Large</option>
</select><br>
<label>How many creams?</label>
<input type="number" name="num_cream"><br>
<label>How many sugars?</label>
<input type="number" name="num_sugars"><br>
<input type="submit" name="order coffee">
</div>
<?php
?>
</body>
also this is well
<?php $num_coffee= $_REQUEST["num_coffee"]; $Size = $_REQUEST["Size"]; $num_cream= $_REQUEST[num_cream]; $num_sugars= $_REQUEST[num_sugars]; $cost = ?>
<label>Number of coffee</label>'
<span><?php echo $num_coffee; ?></span>
</body>