|
Posted by Rory Browne on 05/14/05 04:48
> What other methods would be good to use? Using a giant if statement?
Did you read my code for this? It consisted of two lines, which
basicly did the same thing as your massive ugly switch statment. It
also does a limited amount of error-checking, in that it checks to
make sure that the file actually exists.
> However, since I'm anal, I want the entire page to be named index.php,
> which is why I am stuck on the idea of making each page's "target" set
> to index.php WITH $_SESSION['step'] being set to 1, 2, 3, whichever is
> the next step in the process. If this is bad, what are my alternatives now?
If you ask for alternatives, and then turn them down on the basis that
you're anal, well, I give up.
You could also place the step in form hidden values.
Navigation:
[Reply to this message]
|