Quote from: ZAP at May 02, 2007, 08:25 PM
You’re correct that you do have to set the placeholder before using it. You can do that any number of ways, including the one that you describe (calling the snippet in the first occurence and using the placeholder for the second). Or your snippet could just set the placeholder and you could use that in both locations. Or if you prefer you could make your snippet code a plugin instead, have it set the placeholder, and then just use the placeholder wherever you like.
Zap,
I’ll read up on that - in my newbie thinking, I don’t see how I can get the snippet to produce my goodies unless I explicitly "tell" it to, (how does it know?

) but I see from you folks that it can. No doubt some pre-processing or object-oriented thing that I don’t understand yet. I’ll take a look at the wiki, where it shows what happens when. As an old-school programmer, I’m used to everything being linear and explicitly done, whereas I’m dimly aware that a lot happens automagically in this type of system.
Looking at that stuff helped me when I found that if I coded two snippet calls in a row on a page, some stuff from the second one executed before the first one! And I managed to find a way around it.
BTW, I’m going to implement your security suggestions (from another thread) sometime this week, combined with some freshly-learned, very restrictive preg_match statements! You rule!
Thanks again, and I appreciate the help!
S