I am working on a script that displays a number of forms, and performs differing tasks depending on who is logging in:
• 1 - Login form
• 2 - Validate Login Form by reading mysql db
• 3 - Check password and if password is set to default value, make user change password
• 4 - Check db to see which pages the user can update and display appropriate links (includes
• a - Display appropriate table for page update
• b - View updates
• c - If okay, write to database
Okay, so I'm using a case statement to control all of this. In #5, where I call an include of the appropriate page, I want to use another case statement to loop throug a number of pages in there.
My question: Will I stay inside the 2nd include case structure (a-c) until I tell it to return and how do I tell it to return???
Thanks,
Alisa