I have a select tag in my pizza website, where the ordered pizzas are going to be ( as select options ). The ordered pizzas are added using Javascript when a pizza is clicked. I want to know how can I pass all the options (the ordered pizzas) and the price to PHP variables.
I've seen and tried a lot of ideas but unfortunately none of them has worked including some solutions with Ajax or Javascript but that was a bit complicated (if someone can help with a simple implementation idea would be great).
For exemple like in the photo below, I have 3 orders and the price is 19.96. Now I want to get the 3 orders from the select tag and pass them to a PHP variable and the same for the price.
This is an image for a better understanding :

 <section class="warenkorb">
  <form>
      <label class="headline">Warenkorb:</label>
      <select name="select" id="select" multiple > 
      <!-- Here comes the ordered pizzas  -->
      </select><br>
      <section id="preis" >
      <!-- Here comes the price  -->
      </section>
      <button id="delete1" onclick="subItem(this)" type="button"> delete a Pizza </button>
      <button id="delete2" onclick="suball(this)"  type="reset" > delete All     </button>
   </form>
  </section>
 
     
    