title: Extract text value from aspx via php
body: <p>Trying to get a text value either "yes" or "no" from an aspx page via my php product page.</p>
  
  <p>from here..</p>
  
  <p>after code= i need to insert the product model number $products_model</p>
  
  <p>example..
  <a href="http://www.madisonb2b.co.uk/stockenquiry.aspx?id=B8FxKDnJ%2bIdaPT1Nw5wo4r87qHuHcCQIPZzeUE%2fI36LIFOM%2bayBi2RSXHzIJS5Hj97JNSyYL80Q%3d&amp;code=RN311014" rel="nofollow noreferrer">http://www.madisonb2b.co.uk/stockenquiry.aspx?id=B8FxKDnJ%2bIdaPT1Nw5wo4r87qHuHcCQIPZzeUE%2fI36LIFOM%2bayBi2RSXHzIJS5Hj97JNSyYL80Q%3d&amp;code=RN311014</a></p>
  
  <p>replace RN311014 with $products_model and then echo back the text result</p>
  
  <p>hope someone can help..</p>
  
  <p>thanks scott</p>
  
  <p>i tryed this within my orginal code</p>
  
  <pre><code>&lt;?php $contents = file_get_contents("http://www.madisonb2b.co.uk/stockenquiry.aspx?id=B8FxKDnJ%2bIdaPT1Nw5wo4r87qHuHcCQIPZzeUE%2fI36LIFOM%2bayBi2RSXHzIJS5Hj97JNSyYL80Q%3d&amp;code={$products_model}", NULL, NULL, 0, 3); echo $contents;
  </code></pre>
  
  <blockquote>
    <p>Blockquote</p>
  </blockquote>