ic now. Thanks

I will give that another go when I get home (You have helped me learn heaps so far tho)
It is working, but with one minor problem.
Every attachment now has the word 'and' showing. I think it may have something to do with my 2 if statements. Do I not need the word and between them? I removed the word 'and' and they seem to still be working.
Edit:
With my if statement, it is meant to show the special link to only registered users and the normal link to everyone else.
However it is working good for registered users, but it is showing nothing to everyone else.
It is like my else statement is not working. any ideas?