title: Turning a <div> content into a $variable in php
body: <p>I have this website were you can order products.<br>
  The title of the products you can order are in HTML:  </p>
  
  <pre><code>   &lt;div class="whatever"&gt; Title &lt;/div&gt;
  </code></pre>
  
  <p>I want to retrieve this "title" and set my php variable $product to the value "Title".<br>
  I have search a lot on the internet but somehow I am not able to find my answer.<br>
  How can I do it? </p>