58sniper
10-01-2002, 02:35 PM
I might be in the wrong frame of mind, but here's what I want to do....
I want to create a template that has some minor PHP logic (2 IF statements), and some resulting output (in this case, a couple of icons and links).
Since I'll be using this in several places, I figured the template was the best thing to use.
How do I then reference that template?
Say, I call the template "crap". Do I just use "$crap" where I want the resulting output to appear?
I want to create a template that has some minor PHP logic (2 IF statements), and some resulting output (in this case, a couple of icons and links).
Since I'll be using this in several places, I figured the template was the best thing to use.
How do I then reference that template?
Say, I call the template "crap". Do I just use "$crap" where I want the resulting output to appear?