Note that there are some explanatory texts on larger screens.

plurals
  1. POCan not extract href value from anchor tag
    primarykey
    data
    text
    <p>Trying getting the <code>href</code> value for this HTML</p> <pre><code>&lt;a class="list-item clearfix" href="/en/rolex/submariner-date--id2334149.htm" id="watch-2334149" style="background-color: rgb(255, 255, 255);"&gt; &lt;span onclick="_gaq.push(['first._trackEvent','Click','search','watch-image-click']);_gaq.push(['second._trackEvent','Click','search','watch-image-click']);" class="pic "&gt; &lt;span style="position:absolute"&gt; &lt;img width="100" height="100" alt="Rolex Submariner Date" src="" class="photo"&gt; &lt;/span&gt; &lt;/span&gt; &lt;span class="disc"&gt; &lt;span onclick="_gaq.push(['first._trackEvent','Click','search','watch-headline-click']);_gaq.push(['second._trackEvent','Click','search','watch-headline-click']);" class="watch-headline"&gt;&lt;span class="underline"&gt;Rolex Submariner Date&lt;/span&gt;&lt;/span&gt; &lt;span class="spec"&gt; &lt;span onmouseover="$('#infobox-title').text('Germany');$('#infobox-text').text('This dealer is from Augsburg, Germany.')" style="width: 21px;" class="flag"&gt; &lt;img width="16" height="16" alt="" src="http://cdn.chrono24.com/images/flags-icons/DE.png"&gt;&amp;nbsp; &lt;/span&gt; &lt;span class="icon i-hasnostore"&gt;&lt;/span&gt; &lt;span onmouseover="$('#infobox-title').text('Trusted Seller since 2004');$('#infobox-text').text('We have no knowledge about pending/unsolved disputes or complaints about this seller.')" class="icon i-trusted"&gt;&lt;/span&gt; &lt;span onmouseover="$('#infobox-title').text('Retailer recommendations');$('#infobox-text').text('This watch retailer is recommended on Chrono24 by 1 other watch retailers.')" class="i-buddies"&gt; &lt;span class="icon buddie-count"&gt;1&lt;/span&gt; &lt;span class="icon i-star-blue"&gt;&lt;/span&gt; &lt;/span&gt; &lt;span onmouseover="$('#infobox-title').text('Trusted Seller since 2004');$('#infobox-text').text('We have no knowledge about pending/unsolved disputes or complaints about this seller.')" class="trustedseller"&gt; &lt;script type="text/javascript"&gt; // &amp;lt;![CDATA[ document.write('Trusted Seller since 2004'); // ]]&amp;gt; &lt;/script&gt;Trusted Seller since 2004 &lt;/span&gt; &lt;span style="width: 2px;" class="icon"&gt;&lt;/span&gt; &lt;span onmouseover="$('#infobox-title').text('Premium Seller');$('#infobox-text').text('The Chrono24 Premium Seller Package is only available for Trusted Sellers who frequently use Chrono24.')" class="icon i-premium"&gt;&lt;/span&gt; &lt;span onmouseover="$('#infobox-title').text('Premium Seller');$('#infobox-text').text('The Chrono24 Premium Seller Package is only available for Trusted Sellers who frequently use Chrono24.')" class="premiumseller"&gt;Premium&lt;/span&gt; &lt;/span&gt; &lt;span onclick="_gaq.push(['first._trackEvent','Click','search','watch-desc-click']);_gaq.push(['second._trackEvent','Click','search','watch-desc-click']);" class="description"&gt; Ref. No. 116610 LN; Steel; Automatic; Condition 0 (unworn); Year 2013; With Box; With Papers; Location: Germany, Augsburg; The current, the manufacturer's recommended retail price is 6800 Euro &lt;/span&gt; &lt;span class="availability"&gt;Availability: Available immediately&lt;/span&gt; &lt;/span&gt; &lt;span class="pricebox"&gt; &lt;span onclick="_gaq.push(['first._trackEvent','Click','search','watch-price-click']);_gaq.push(['second._trackEvent','Click','search','watch-price-click']);" class="amount price"&gt;&lt;span class="large"&gt;$&amp;nbsp;7,961&lt;/span&gt; &lt;/span&gt; &lt;span class="buttonbox"&gt; &lt;span onclick="_gaq.push(['first._trackEvent','Click','search','watch-button-click']);_gaq.push(['second._trackEvent','Click','search','watch-button-click']);" class="button-blue"&gt; &lt;span&gt; Watch details &lt;/span&gt; &lt;/span&gt; &lt;/span&gt; &lt;/span&gt; &lt;/a&gt; preg_match_all('#&lt;a href="(.+)"&gt;#',$html,$urlarr); </code></pre> <p>This is not giving the <code>href</code> value at all , Don't know what going wrong with this.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload