[thelist] style switcher in php?

MarsHall evolt at MARSorange.com
Sat Oct 26 14:24:01 CDT 2002


On Saturday, October 26, 2002, at 12:18 PM, noah wrote:
> Maybe I'm missing something here, but if you're going to predefine
> style
> sheets, why not just use the variable "$style", make it a number,

> Then it doesn't matter what people try to force "$style" to be.


That's more secure, yes, but not the most sustainable solution.

If you (or someone else!) ever want to add new style sheets, you/they
must remember to change that "predefined style sheet" code.

Mars




More information about the thelist mailing list