Thanks for your support guys
phpkid - it works fine but only in one table /in one table i don't have doubled images with links anymore/ but still i have same pictures in second or third table from time to time /i mean that pics for example 1.jpg is never doubled in one table but can be again in others tables in the same time.
Cagez - i filled my page with your script but it looks that script takes nothing from txt file, <a href=""> - no link taken and <img src="11" border=3> - number taken but extension .jpg not.
sample below:
<table width="600"><tr>
<td align=middle>
<a href=""><img src="11" border=3></a><br>
<font style="font-weight: bold; font-size: 11px; font-family: Tahoma"><br></font>
</td>
<td align=middle>
<a href=""><img src="15" border=3></a><br>
<font style="font-weight: bold; font-size: 11px; font-family: Tahoma"><br></font>
</td>
<td align=middle>
<a href=""><img src="20" border=3></a><br>
<font style="font-weight: bold; font-size: 11px; font-family: Tahoma"><br></font>
</td>
<td align=middle>
<a href=""><img src="46" border=3></a><br>
<font style="font-weight: bold; font-size: 11px; font-family: Tahoma"><br></font>
</td>
<td align=middle>
<a href=""><img src="48" border=3></a><br>
<font style="font-weight: bold; font-size: 11px; font-family: Tahoma"><br></font>
</td>
</tr></table>
what to do now?

i hope that you understood what i mean, i'm asking beacuse sometimes i don't understand myself
regards
doogi