title: Body Size and Stock Information Using simple_html_dom.php
body: <p>First of all, thank you for your help.</p>
  <p>I am using the simple_html_dom.php file. I get the product name, product description and product photos without any problem. I cannot get stock information in product size and size information. I need help.</p>
  <p>Page Output : <a href="https://i.stack.imgur.com/0CaXf.png" rel="nofollow noreferrer">https://i.stack.imgur.com/0CaXf.png</a></p>
  <pre><code>if(!empty($linkler)){
  $html='&lt;table&gt;&lt;tr&gt;&lt;td&gt;URUN_ADI&lt;/td&gt;&lt;td&gt;URUN_ACIKLAMA&lt;/td&gt;&lt;td&gt;URUN_FIYAT&lt;/td&gt;&lt;td&gt;SKU_KODU&lt;/td&gt;&lt;td&gt;URUN_FOTO&lt;/td&gt;&lt;/tr&gt;';
  
  foreach ($linkler as $link){
      if($tekLink = curl($link)){
          foreach($tekLink-&gt;find('div.product-details-container') as $e){
              $urunbaslik = $tekLink-&gt;find('h1',0)-&gt;innertext . '&lt;br&gt;';
              $urunacik   = $tekLink-&gt;find('div.full-description',0)-&gt;plaintext . '&lt;br&gt;';
              $bul        = array(' ', 'TL', ',');
              $degistir   = array('', '', '.');
              $fiyat      = str_replace($bul, $degistir, $tekLink-&gt;find(&quot;span[itemprop='price']&quot;,0)-&gt;plaintext);
              $sku        = $tekLink-&gt;find(&quot;span[itemprop='sku']&quot;,0)-&gt;plaintext;
  
              foreach($tekLink-&gt;find(&quot;img[itemprop='image']&quot;) as $f){
                  $fotolar .= $f-&gt;src . ';';
              }
  
              $html.='&lt;tr&gt;&lt;td&gt;'.$urunbaslik.'&lt;/td&gt;&lt;td&gt;'.$urunacik.'&lt;/td&gt;&lt;td&gt;'.$fiyat.'&lt;/td&gt;&lt;td&gt;'.$sku.'&lt;/td&gt;&lt;td&gt;'.$fotolar.'&lt;/td&gt;&lt;/tr&gt;';
              $fotolar = '';
          }
      }
  }
  echo $fotolar;
  $html.='&lt;/table&gt;';
  header('Content-Type:application/xls');
  header('Content-Disposition:attachment;filename='.$parcalaURL[sizeof($parcalaURL)-2].'-'.date(&quot;d-m-Y H:i&quot;).'.xls');
  echo $html;
  </code></pre>
  <p>}</p>