将输入值发布到邮件并显示详细信息

I have tried a lot for the post of following input which is come from previous orderonline.php page but the problem is that i want to post all values such as name their quantity and total price on Email via phpmailer() function.

Problem is that on email only the quantity is get displayed the code is as follows:

<script>
     jQuery('.plus').click(function() {
     var qut = jQuery(this).prev().val();
     var plus = (parseInt(qut) + 1);
     jQuery(this).prev().val(plus);
     if (plus > parseInt(0)) {
    var price = jQuery(this).prev().data('price');
    jQuery(this).parent().next().html(parseInt(plus) * parseInt(price));
     } else {
              jQuery(this).parent().next().html(price);
            }
     var price = [];
     var p = 0;
    jQuery('.finalprice').each(function() {
    p = (parseInt(p) + parseInt(jQuery(this).html()));});
    jQuery('.totalprice').html(p);});
    jQuery('.minus').click(function() {
     var qut = jQuery(this).next().val();
     var plus = (parseInt(qut) - 1);
          if (plus > parseInt(0)) {
          jQuery(this).next().val(plus);
          var price = jQuery(this).next().data('price');
   jQuery(this).parent().next().html(parseInt(plus) * parseInt(price));
   } else { jQuery(this).parent().next().html(price);}
 var p = 0;
 jQuery('.finalprice').each(function() {
  p = (parseInt(p) + parseInt(jQuery(this).html()));});
  jQuery('.totalprice').html(p);});
</script>


`<form action="confirm.php" method="post">`
` <?php`
`   $i=0;`
`   if(isset($_POST['chk'])){`
`    foreach($_POST['chk'] as $key=>$value){`
`    echo "<tr><td><input type=\"text\" name=\"prdct[".$i."]\" readonly style=\"border:none;width:auto;\" value=\"".$_POST['nam'][$key]."\"></td>";`
`    echo "<td><span class=\"minus\" style=\"font-size:17px!important;\">-</span>";`
`    echo "<input class=\"Quantity\"  style=\"margin:1px;text-align:center\" size=\"3\" type=\"text\" name=\"quantity[".$i."]\" data-price=\"".$value."\" value=\"1\"><span class=\"plus\"style=\"font-size:17px!important;\">+ </span> </td>";`
`     echo "<td class=\"finalprice\">".$value."</td></tr>";`
`          }`
`      }    `
`    ?>`

The respected Email should look like this image:

Email image

</div>