Actually, I'm looking at the script now, and it's embarrassing. It shows I really knew nothing about Links SQL or anything when I tried to mod it -- I'm actually surprised I got it to work.
I think I can rewrite it more easily than I can fix it, and it will use templates, similar to the search/add feature.
My script also used a field to count how many times a link was recommended, so actually I'm counting page hits, site hits and how many time recommended for each link.
I think I can cut out all the hard coded stuff, and make this use all links routines so it will be easy to maintain.
I can set it to run with or without the additional field to track recommendations.
I should have it finished in a day or two. This is so embarrasing I _HAVE_ to fix it
If you want to see it in action, check it out at:
http://www.postcards.com/cgi-bin/postcast_SQL.cgi?ID=427
All it takes is the ID=nnn parameter, and it takes all the information out of the database.
Obviously there is room for improvement, but since I can make it template based, and use standard Links SQL elements, you'll be able to make the template do what you want. _ALL_ the 'link' tags should be available, and I guess I could do a category look up, but maybe not
Something has to be left to the viewer <G>.
Now that I know what I'm doing (sort of) it's really not hard to make this sort of thing. Actually -- it's just a variation of the report-bad-links mods that have been posted.
Same shell of the program, different templates. It takes in the ID as the only parameter, and outputs a template-formatted page to allow you enter the email and names plus a message. Hit submit, and it sends that plus the embedded link ID to the script, that outputs it to a mail message.