How do I send an information of an ID by e-mail?

0

I have a form, it has the following line:

<span id="idTaxa"></span>

This line loads the delivery rate data, that's fine, but I need to send this information by email and I'm not sure how to do it. To send the data from my form I use the Post method, like this:

$emporio = $_POST["emporio"];

But the information is in an IMPUT, but when I try to pull the information from this ID (idTaxa) I can not, I'm using this line below:

$entrega = ["#idTaxa"];

Nothing appears !!! Could someone tell me the right way? Thanks in advance.

The idTaxa information comes from the form.js file. Here is the code:

var str = "";

var id=""; var sub = 0.00; var rate = 0; var tax delivery = total - rate; total var = 0.00; var qcount = 0; var scount = 0; var opc = 0; var options=""; for (i = 1; i

asked by anonymous 15.09.2016 / 15:38

1 answer

1

For you to get this via POST, you need to submit via a form. The correct one would be to get the value of this span in another way, since the form normally uses inputs, selects, checkboxes, etc.

  • or html.

        
  • 15.09.2016 / 15:49