I believe that is the bbcode_uid or something similar, that column is in posts table. Suggest upgrading as the newer format is easier to work with. Newest version of phpBB does not use that format and will be something like this:
Code: Select all
<ATTACHMENT filename="filename.jpg" index="6"><s>[attachment=6]</s>filename.jpg<e>[/attachment]</e></ATTACHMENT>
Instead of trying to attach them to posts it would be easier to upload them to single directory and then use find and replace in phpmyadmin to change the source URL.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”
Attributed - Thomas Edison