Witam, mam problem z funkcją preg_match_all. Wyciągnąłem z kodu strony DIV (<div class="fcb">), ale wyświetla mi obok zawartości DIVa coś takiego:
Array ( [0] => Array ( [0] =>
Mozilla Firefox
[1] =>
Google Chrome
[2] =>
Safari
[3] =>
Microsoft Internet Explorer
Chciałbym, żeby wyświetlało samą zawartość DIV, czyli "Mozilla Firefox", "Google Chrome", itd...
Mój kod:<?php
?>
Fragment kodu strony:<ul class="uiList mvm uiListBulleted"><li class="uiListVerticalItemBorder"><div class="fcb"><a href="http://www.getfirefox.com" onmousedown="UntrustedLink.bootstrap($(this), "UAQGoAJ6b", event, bagof(null));" rel="nofollow" target="_blank"> Mozilla Firefox
</a></div></li>
<li class="uiListVerticalItemBorder"><div class="fcb"><a href="http://www.google.com/chrome/" onmousedown="UntrustedLink.bootstrap($(this), "QAQGNyBl7", event, bagof(null));" rel="nofollow" target="_blank"> Google Chrome
</a></div></li>
<li class="uiListVerticalItemBorder"><div class="fcb"><a href="http://www.apple.com/safari" onmousedown="UntrustedLink.bootstrap($(this), "RAQECUhN8", event, bagof(null));" rel="nofollow" target="_blank"> Safari
</a></div></li>
<li class="uiListVerticalItemBorder"><div class="fcb"><a href="http://www.microsoft.com/ie" onmousedown="UntrustedLink.bootstrap($(this), "hAQHzy3bt", event, bagof(null));" rel="nofollow" target="_blank"> Microsoft Internet Explorer
</a></div></li></ul>