hi everybody
Would it be faster to keep my pages on one page and flip through my functions or objects use a switch statement, or would it be better writing several different pages that does the same task?
Thanks
use switch() {
}
well, that depend also, how many item in the switch and how large is the switch file...
if file too large to be handle in one file, then perhaps use several files to knock the goal.
Im mainly using the switch statement for forms and results that have been spit out from my backend lib. Not much processing done within the switch (if that actually matters!).
I just find it easier for debugging when everything is one page.
😃