mam cos takiego
$url = "index.html";
preg_match_all("/<tr[[:space:]].*?>([^<]+)<\/tr>/is", $string, $matches, PREG_PATTERN_ORDER
);
za pomoca tego wyrazenia pobieram wszystko to co jest pomiedzy tr z index.html
jak to mozna zmienic zeby mi pobieralo tylko konkretne
w index.html mam cos takiego
<tr onmouseover="change_style(this, '#d0e2d0');" onmouseout="change_style(this, '#e7f1e7');" style='background-color:#e7f1e7'"> <td style="width: 110px; padding-left:10px; height:20px">11111111
</td> <td style="width: 110px; text-align: center;">dsfdsf
</td> <td><a href="http://wroclaw.dlastudenta.pl/stancje/?act=show_stancja&idp=216442" onmouseover="this.style.color='#489048'" onmouseout="this.style.color='#000'"> <b>dfdfdf(dfdf
<span class="strz fred" style="color: #489048;">»</span></b> <td style="text-align:center;">1/3
</td>
chodzi o to zeby zapisalo mi do tablicy to co jest pomiedzy tr ktory ma cos takiego onmouseover="change_style(this, '#d0e2d0');" onmouseout="change_style(this, '#e7f1e7');" style='background-color:#e7f1e7'"
a reszte tr zeby pomijalo
jak zrobie cos takiego to wchodzi mi we wszystkie
preg_match_all("/<tr[[:space:]].*?>([^<]+)<\/tr>/is", $string, $matches, PREG_PATTERN_ORDER
);
jak w tym wyrazeniu mam wstawic te wlasnosci tego tr to znaczy to
onmouseover="change_style(this, '#d0e2d0');" onmouseout="change_style(this, '#e7f1e7');" style='background-color:#e7f1e7'"