How to pull information from an HTML tag into a php variable?
<p>I'm working with a form that takes some user inputs and then calculates the price. When the 'submit' button is pressed, the form information will be send via email to the webmaster.</p>

<p>To assemble this email, I can load form choices into php variables, i.e.:
<code>&lt;input name="email"&gt;</code> is accessible via <code>$email = $_POST["email"]</code>.</p>

<p>I want to do the same for non-input/non-select elements. My form contains multiple instances of <code>&lt;select&gt;</code> elements that have <code>.on('change')</code> jQuery handlers attached to them to listen for changes and manipulate a <code>&lt;span&gt;</code> that displays the price based on what's chosen.</p>

<p>For the email I'm sending, I want to get both the selected option (which I can do with <code>$_POST</code>) and the dynamically updated corresponding price.</p>

<p>But given that price is just in a <code>&lt;span&gt;</code>-tag, how would I access it (what I'm looking for is a php equivalent of jQuery's <code>$('#price').html()</code>)?</p>