Re: Discriminating Against Static Pages
That code works beautifully but the trouble is that I have several pages and the script works only for one page at a time. What if I wanted a list with something like
if ($pageid == "190", "191", "195", "203") {
?
How can that be done without parse errors? I tried looking in the the Smarty manual for examples but it seems like commas and quotation marks is what's being used so I'm a bit confused. Thanks.
|