Scraping the page Number of Channel Advisor using PHP
<p>I'm trying to extract the page number of a ChannelAdvisor Inventory List but it always output EMPTY.</p>

<p>here is my code:</p>

<pre><code> &lt;?php
$url = "https://merchant.channeladvisor.com/AM/MyInventory/View_Inventory.aspx?apid=32001263";
$str = file_get_contents($url);

preg_match('/&lt;span id="Surround_ctl00_Surround_Content_Paging_ctl00_l1"&gt;&amp;nbsp;of (.*?)&lt;\/span&gt;&amp;nbsp;/',$str,$as);
var_dump($as);
?&gt;
</code></pre>

<p>I'm trying to extract the 340..</p>
