Czasami tych numerów może być 20... czy jest w php jakiś automat dodający je do tablicy? czy jest taka możliwość ?
<main> <div class="ContentWidth"> <div id="Content"> <nav class="ContentTitle"> </nav> <div class="Ribbon"> |VIP Kuleczky.pl [DD2||INFERNO||NUKE] @1shot1kill.pl</div> <div class="MainContent"> <table class="SummaryTable"> <tr> </tr> <tr> <td> Tak, Brak problemów i ostrzeżeń </td> <td rowspan="8" id="MapThumbnail"> <img src="//static.cssetti.pl/MapThumbnails/de_nuke.png"> de_nuke </td> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> </table> <div id="CstrikeServerPlayersStats" style="height: 250px"> </div> <table class="DataTable"> <thead> <tr> </tr> </thead> <tbody> <tr> </tr> </tbody> </table> </div> <aside class="MainContent"> <table class="DataTable"> <thead> <tr> </tr> </thead> <tbody> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> </tbody> </table> <form action="" method="post" class="PostForm"> <div class="PostFormField"> <div class="PostFormFieldText"> </div> </div> <div class="PostFormField"> <div class="PostFormFieldText"> </div> </div> </form> <form action="" method="post" class="PostForm"> <div class="PostFormField"> </div> <input type="hidden" name="ServerVoteForm" value=""> </form> <div class="AsideStats"> </div> </aside> </div> </div> </main>
foreach($dom->find('table.DataTable tr') as $tr) { }