My question is, how do I get the value/text by id, thats between a span from an external website by using cURL. And after that, put it in a variable.
I have the following span:
<span id="company" class="company">Example</span>
I tried to use:
$company = $_POST['company'];
echo($company);
But that didn't work.
The output should be:
Example