Let's say I already have near 2000 lines like these:
<div style="position:absolute;top:461;left:167"><nobr>1 001 A NAME HERE</nobr></div>
<div style="position:absolute;top:461;left:682"><nobr>TRUE</nobr></div>
<div style="position:absolute;top:480;left:167"><nobr>2 002 ANOTHER NAME GOES HERE</nobr></div>
<div style="position:absolute;top:480;left:682"><nobr>FALSE</nobr></div>
and I want to pass them automatically into a table like here:
<tr>
<td class="id">1</td>
<td class="serial">001</td>
<td class="name">A NAME HERE</td>
<td class="accepted">TRUE</td>
</tr>
<tr>
<td class="id">2</td>
<td class="serial">002</td>
<td class="name">ANOTHER NAME GOES HERE</td>
<td class="accepted">FALSE</td>
</tr>
Can you help me on how can I do that with PHP/Javascript?
PS: It doesn't matter the style defined, since it will be easier in tables.