Hey everyone..
I have a rather simple problem and i cant get to any solution. I have html files with tables in them.. i need to create a array out of them with the complete tables in the vals.
example:
<html>
<body>
<table border=1>
blah in table1
</table>
blah
<table cellpadding=10>
blah in table2
</table>
blah
</body>
</html>
the array should have 2 values on this file:
value1:
<table border=1>
blah in table1
</table>
value2:
<table cellpadding=10>
blah in table2
</table>
can anyone help me a little further? tried it with preg_match but didn't succeed 🙁