Re: Form handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux