Re: FN-FORUM PHP Switch
date posted 10th September 2002 18:41
Also, IMHO you may want to use 'break;' instead of 'die()' so that it
continues processing the code after the end of the case statement (where you
can then end the script neatly) instead of ending the script in the middle
of a switch statement.
> Put quotes around login and logout - PHP thinks you have defined 2
constants
> with those names.