Ciao a tutti,
avendo questo testo:
codice:
<tr class="product_table_intestazione">
<td colspan="3">Lunghezze in mm.</td>
</tr>
<tr>
<td colspan="3">1000,750,500,250</td>
</tr>
come faccio a fare un preg_match_all che mi di le righe ad una ad una, quindi con
array(
'<td colspan="3">Lunghezze in mm.</td>',
'<td colspan="3">1000,750,500,250</td>'
)
perchè attualmente essendoci più <TR> mi da un blocco unico:
codice:
<td colspan="3">Lunghezze in mm.</td>
</tr>
<tr>
<td colspan="3">1000,750,500,250</td>
grazie!