I'm having issues with preg_match_all, my information I used changed and doesn't match the previous code it was using. The table below is only showing 2 row's but it does contain about 30 row's. I need everything in between each in an array.
<div id="obs-site">
<table class="data-table" cellpadding=0 cellspacing=0 border=0>
<tr>
<td>Apr 27 18:53</td>
<td>E 10</td>
<td>10</td>
<td>Clear</td>
<td>CLR</td>
<td>77</td>
<td>60</td>
<td> </td>
<td> </td>
<td>56%</td>
<td> </td>
<td>77</td>
<td>29.7</td>
<td>29.7</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Apr 27 17:53</td>
<td>ESE 8</td>
<td>10</td>
<td>Clear</td>
<td>CLR</td>
<td>79</td>
<td>59</td>
<td> </td>
<td> </td>
<td>50%</td>
<td> </td>
<td>79</td>
<td>29.71</td>
<td>29.71</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
and the code i'm using:
<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n<td>(.*)<\/td>\n
the only problem is it's not working. Now if I remove all the tabs/spacers before the td's, its working. What am I doing wrong?